Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 78.19 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 150.2 kB / 24.8 MB, free: 9.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.37e-05, allocations: 2.312 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00261/0.002634, allocations: 1.921 MB / 270.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004279, allocations: 1.02 MB / 271.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.004472, allocations: 7.938 kB / 271.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.005027, allocations: 143.5 kB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.005282, allocations: 119.5 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.00571, allocations: 207.2 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.005934, allocations: 179.5 kB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006037, allocations: 21.8 kB / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.006185, allocations: 103.7 kB / 272.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.006284, allocations: 63.8 kB / 272.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.006304, allocations: 8 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.006428, allocations: 59.89 kB / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.006483, allocations: 35.86 kB / 272.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.006529, allocations: 47.84 kB / 272.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.006745, allocations: 155.3 kB / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006748, allocations: 0 / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006749, allocations: 0 / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.006753, allocations: 3.984 kB / 272.5 MB, free: 2.125 MB / 250.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.0004692/0.007222, allocations: 0.5323 MB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.007257, allocations: 8.031 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.007297, allocations: 20.84 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.007501, allocations: 236.3 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.007516, allocations: 4.375 kB / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.007528, allocations: 8.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.007711, allocations: 128.6 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.007718, allocations: 3.938 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.007733, allocations: 8 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007738, allocations: 3.984 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.007771, allocations: 15.98 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.008065, allocations: 315.6 kB / 273.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.008177, allocations: 113.3 kB / 273.9 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.008213, allocations: 46.98 kB / 273.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.008232, allocations: 4 kB / 273.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/0.008318, allocations: 72.98 kB / 274 MB, free: 436 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.008319, allocations: 0 / 274 MB, free: 436 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001823/0.008501, allocations: 109.5 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.008551, allocations: 110.8 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.008723, allocations: 284.1 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.008739, allocations: 29.7 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.008814, allocations: 166.8 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.008833, allocations: 11.91 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.008868, allocations: 31.34 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.00899, allocations: 0.504 MB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.009004, allocations: 4 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.009044, allocations: 68.98 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.009083, allocations: 35.36 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009085, allocations: 0 / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.446e-05/0.009169, allocations: 89.42 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.009181, allocations: 4 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.009185, allocations: 3.938 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.009193, allocations: 0 / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.00924, allocations: 12 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009244, allocations: 3.938 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.009277, allocations: 15.98 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.009281, allocations: 0 / 275.4 MB, free: 14.85 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 7.576e-05/0.009357, allocations: 160.6 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.009406, allocations: 65.48 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.009513, allocations: 91.42 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.009518, allocations: 4.312 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009519, allocations: 0 / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.009523, allocations: 0 / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.009638, allocations: 149.1 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009639, allocations: 0 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.009658, allocations: 8.062 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.009663, allocations: 7.938 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.009668, allocations: 0 / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009671, allocations: 3.938 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009672, allocations: 4 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.899e-05/0.009771, allocations: 139.7 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.009813, allocations: 27.84 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.00983, allocations: 7.938 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.009862, allocations: 7.984 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.009894, allocations: 7.984 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.009905, allocations: 8 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.00999, allocations: 189.1 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00999, allocations: 0 / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.01015, allocations: 31.92 kB / 276.3 MB, free: 13.87 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.0008849/0.01104, allocations: 409.6 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.01116, allocations: 51.53 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01116, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.0112, allocations: 23.67 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.01151, allocations: 56.28 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01191, allocations: 309.5 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01196, allocations: 75.83 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.012, allocations: 17.61 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.01209, allocations: 106.2 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01209, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Templates: time 0.004671/0.01676, allocations: 2.772 MB / 280.1 MB, free: 10.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.845371463801712]