Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.0009904/0.0009904, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.001039/0.001039, allocations: 161 kB / 24.82 MB, free: 9.258 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 1.03/1.03, allocations: 177 MB / 205.1 MB, free: 5.488 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.149e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004173/0.004204, allocations: 1.932 MB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.006447, allocations: 1.153 MB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.006629, allocations: 7.938 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008079/0.007437, allocations: 159.4 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.007931, allocations: 167.2 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.008441, allocations: 167.3 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.008767, allocations: 195.4 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.008896, allocations: 21.78 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.009109, allocations: 107.7 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.009264, allocations: 63.8 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.009296, allocations: 12 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.009478, allocations: 59.89 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.009558, allocations: 43.84 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.009618, allocations: 43.84 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.009964, allocations: 155.3 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.00997, allocations: 4 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009971, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.009977, allocations: 4 kB / 277.6 MB, free: 12.95 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006966/0.01067, allocations: 0.5323 MB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.01072, allocations: 15.98 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.01079, allocations: 24.8 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.0111, allocations: 228.3 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.01112, allocations: 8.375 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.01113, allocations: 8.359 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.0114, allocations: 132.6 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01141, allocations: 192 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.01143, allocations: 4.375 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01143, allocations: 7.938 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.01149, allocations: 19.92 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.01191, allocations: 307.7 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.01206, allocations: 113.3 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.01211, allocations: 39 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.01213, allocations: 4 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.01228, allocations: 76.97 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.01228, allocations: 0 / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003024/0.01258, allocations: 113.4 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.01265, allocations: 106.8 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.0129, allocations: 288.2 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01292, allocations: 29.7 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01302, allocations: 166.8 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.01305, allocations: 19.84 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.0131, allocations: 39.55 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01329, allocations: 0.5001 MB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.01331, allocations: 8.234 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.01337, allocations: 60.75 kB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.01343, allocations: 47.3 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01343, allocations: 0 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001309/0.01356, allocations: 81.47 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01358, allocations: 7.125 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01359, allocations: 4 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.0136, allocations: 64 / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.01368, allocations: 19.92 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.01369, allocations: 0 / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.01374, allocations: 4 kB / 280.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.01374, allocations: 4 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001034/0.01385, allocations: 160.6 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.01393, allocations: 69.42 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.01411, allocations: 91.39 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01411, allocations: 0 / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01411, allocations: 3.984 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01412, allocations: 8.062 kB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.01429, allocations: 141.1 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.01429, allocations: 7.984 kB / 281.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.01433, allocations: 7.984 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01433, allocations: 0 / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01435, allocations: 4 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01435, allocations: 3.938 kB / 281.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01435, allocations: 4.297 kB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01452, allocations: 151.6 kB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.01459, allocations: 31.84 kB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01461, allocations: 8 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.01467, allocations: 7.938 kB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.01471, allocations: 7.984 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.01472, allocations: 4 kB / 281.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01486, allocations: 197.1 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.01486, allocations: 0 / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.01522, allocations: 31.92 kB / 281.5 MB, free: 8.656 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0008411/0.01606, allocations: 378.2 kB / 281.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01617, allocations: 47.59 kB / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01617, allocations: 0 / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.0162, allocations: 31.56 kB / 281.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01646, allocations: 64.77 kB / 282 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.01686, allocations: 309.7 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.01692, allocations: 75.81 kB / 282.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.01699, allocations: 25.56 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01711, allocations: 102.2 kB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01711, allocations: 0 / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Templates: time 0.005478/0.02258, allocations: 2.806 MB / 285.3 MB, free: 4.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.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.79527312098071]