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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001245, allocations: 107.8 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 188 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009582/0.0009582, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4551, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005178/0.4603, allocations: 1.884 MB / 402.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.4628, allocations: 1.044 MB / 403.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.4631, allocations: 0 / 403.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.4639, allocations: 155.5 kB / 403.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.4644, allocations: 111.6 kB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.4652, allocations: 204.1 kB / 404.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.4655, allocations: 179.6 kB / 404.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4657, allocations: 37.55 kB / 404.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.4659, allocations: 79.56 kB / 404.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.4661, allocations: 67.7 kB / 404.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.4661, allocations: 11.94 kB / 404.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.4663, allocations: 59.95 kB / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.4664, allocations: 39.78 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.4665, allocations: 71.55 kB / 404.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.4669, allocations: 204.4 kB / 404.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4669, allocations: 3.984 kB / 404.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.467, allocations: 4 kB / 404.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.467, allocations: 0 / 404.9 MB, free: 4.742 MB / 318.1 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.001193/0.4682, allocations: 0.504 MB / 405.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4682, allocations: 11.89 kB / 405.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.4683, allocations: 20.66 kB / 405.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.4688, allocations: 262.9 kB / 405.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4688, allocations: 8.375 kB / 405.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4689, allocations: 16.11 kB / 405.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.4693, allocations: 138.7 kB / 405.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4693, allocations: 3.938 kB / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4693, allocations: 0 / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4693, allocations: 8 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4694, allocations: 31.97 kB / 405.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.4701, allocations: 366.3 kB / 406.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4703, allocations: 107.9 kB / 406.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.4704, allocations: 38.58 kB / 406.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4705, allocations: 3.984 kB / 406.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4706, allocations: 87.23 kB / 406.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.4707, allocations: 0 / 406.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000438/0.4711, allocations: 137.4 kB / 406.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4712, allocations: 132.5 kB / 406.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.4716, allocations: 261 kB / 407 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.4716, allocations: 29.95 kB / 407 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4717, allocations: 120 kB / 407.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.4718, allocations: 15.89 kB / 407.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.4719, allocations: 29.62 kB / 407.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4721, allocations: 334.8 kB / 407.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.4722, allocations: 19.94 kB / 407.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4723, allocations: 77.92 kB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4725, allocations: 72.23 kB / 407.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4725, allocations: 0 / 407.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002464/0.4727, allocations: 117.4 kB / 407.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4728, allocations: 10.66 kB / 407.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4728, allocations: 0 / 407.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4728, allocations: 0 / 407.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.4729, allocations: 15.98 kB / 407.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4729, allocations: 3.938 kB / 407.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.473, allocations: 19.88 kB / 407.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.473, allocations: 0 / 407.8 MB, free: 1.449 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001645/0.4732, allocations: 149.9 kB / 407.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.4733, allocations: 69.39 kB / 408 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.4734, allocations: 25.7 kB / 408 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4734, allocations: 0 / 408 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4734, allocations: 4 kB / 408 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4734, allocations: 3.938 kB / 408 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.4737, allocations: 222 kB / 408.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4737, allocations: 4 kB / 408.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.4737, allocations: 15.92 kB / 408.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4738, allocations: 4.062 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4738, allocations: 0 / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4738, allocations: 4 kB / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4738, allocations: 0 / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.4741, allocations: 150.5 kB / 408.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4742, allocations: 112.8 kB / 408.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.4742, allocations: 8 kB / 408.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.4743, allocations: 4 kB / 408.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4744, allocations: 7.984 kB / 408.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.4744, allocations: 7.938 kB / 408.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.4746, allocations: 192.5 kB / 408.8 MB, free: 384 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4747, allocations: 0 / 408.8 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.475, allocations: 35.91 kB / 408.8 MB, free: 348 kB / 318.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001222/0.4762, allocations: 429.9 kB / 409.2 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.4765, allocations: 63.92 kB / 409.3 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4765, allocations: 0 / 409.3 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4766, allocations: 24.03 kB / 409.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4771, allocations: 72.73 kB / 409.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.4777, allocations: 297.5 kB / 409.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4781, allocations: 0.7318 MB / 410.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.4782, allocations: 17.55 kB / 410.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.4782, allocations: 23.38 kB / 410.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4782, allocations: 0 / 410.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Templates: time 0.00718/0.4854, allocations: 2.422 MB / 412.9 MB, free: 12.41 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches