Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 165.5 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9609/0.9609, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.985e-05, allocations: 5.266 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001967/0.001986, allocations: 1.556 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.002291, allocations: 151.4 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.002354, allocations: 0 / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.002399, allocations: 3.938 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.002509, allocations: 3.938 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.002692, allocations: 43.81 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.002771, allocations: 31.86 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.002841, allocations: 12 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.00289, allocations: 15.97 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.407e-05/0.002914, allocations: 7.938 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.002933, allocations: 0 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-06/0.002943, allocations: 4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.00298, allocations: 11.98 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.002995, allocations: 7.938 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.298e-05/0.003078, allocations: 31.84 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003081, allocations: 0 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003082, allocations: 0 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003085, allocations: 0 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002731/0.003358, allocations: 260.8 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.003391, allocations: 15.98 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.003415, allocations: 8.922 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.003546, allocations: 129.6 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.003561, allocations: 384 / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.003571, allocations: 8.375 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.003705, allocations: 94.3 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.003711, allocations: 4.125 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.003716, allocations: 4.375 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.003721, allocations: 384 / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.144e-05/0.003732, allocations: 7.938 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.003887, allocations: 153.1 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.003928, allocations: 37.14 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.003942, allocations: 13.84 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.003953, allocations: 0 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003973, allocations: 38.5 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.003973, allocations: 0 / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.232e-05/0.004066, allocations: 45.62 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.004105, allocations: 81.05 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.004174, allocations: 137.6 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.004183, allocations: 29.7 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.004212, allocations: 80.14 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.004218, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.00424, allocations: 13.72 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.004311, allocations: 318.8 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.004318, allocations: 8 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.004324, allocations: 4.25 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.592e-05/0.00434, allocations: 8.859 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.004342, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.652e-05/0.004379, allocations: 33.64 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.004389, allocations: 4 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004394, allocations: 3.984 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.004405, allocations: 4 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.396e-05/0.004419, allocations: 3.938 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.004422, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.004439, allocations: 96 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.004443, allocations: 8 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.004492, allocations: 112.7 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.004519, allocations: 33.69 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.004539, allocations: 7.469 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00454, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.004543, allocations: 7.875 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.004545, allocations: 0 / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.697e-05/0.004622, allocations: 77.81 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004623, allocations: 0 / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.004626, allocations: 4.031 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.004628, allocations: 0 / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.004633, allocations: 8 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004634, allocations: 0 / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004634, allocations: 0 / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.004702, allocations: 136.3 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.004723, allocations: 7.953 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.004733, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.004764, allocations: 3.984 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.004785, allocations: 7.922 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.004787, allocations: 8.031 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.004809, allocations: 32.7 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004809, allocations: 0 / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001053/0.004914, allocations: 4 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.307e-05/0.004988, allocations: 76.42 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.257e-05/0.00503, allocations: 8.859 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.005032, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.005041, allocations: 8.859 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.005189, allocations: 24.36 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.005396, allocations: 139.8 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.005429, allocations: 59.34 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.005443, allocations: 8 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.005486, allocations: 51.38 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.005487, allocations: 0 / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.001835/0.007321, allocations: 0.4983 MB / 278.1 MB, free: 12.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.543079290073365]