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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 101.6 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.845e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4411, allocations: 80.33 MB / 467.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4414, allocations: 79.95 kB / 467.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.4588, allocations: 6.498 MB / 474.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4588, allocations: 0 / 474.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.885e-05/0.4588, allocations: 4 kB / 474.4 MB, free: 7.938 MB / 346.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.0006786/0.4595, allocations: 484.4 kB / 474.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4596, allocations: 8.031 kB / 474.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.4597, allocations: 19.75 kB / 474.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.4601, allocations: 257.7 kB / 475.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.4601, allocations: 7.938 kB / 475.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4602, allocations: 4 kB / 475.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.4603, allocations: 35.98 kB / 475.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4605, allocations: 139.9 kB / 475.3 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4606, allocations: 3.984 kB / 475.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4606, allocations: 3.953 kB / 475.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4606, allocations: 0 / 475.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.4611, allocations: 339.1 kB / 475.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4612, allocations: 99.91 kB / 475.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.4613, allocations: 46.64 kB / 475.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4613, allocations: 0.75 kB / 475.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.4615, allocations: 83.41 kB / 475.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.4615, allocations: 0 / 475.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002526/0.4618, allocations: 109.4 kB / 476 MB, free: 6.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.4618, allocations: 132.6 kB / 476.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4621, allocations: 232.4 kB / 476.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4621, allocations: 37.62 kB / 476.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.4622, allocations: 112.1 kB / 476.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.4622, allocations: 15.75 kB / 476.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.4622, allocations: 0 / 476.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4624, allocations: 330.8 kB / 476.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.4624, allocations: 19.98 kB / 476.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.4625, allocations: 65.95 kB / 476.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.4626, allocations: 23.98 kB / 476.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4626, allocations: 0 / 476.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001646/0.4627, allocations: 105.5 kB / 477 MB, free: 4.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4628, allocations: 9.25 kB / 477 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4628, allocations: 0 / 477 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4628, allocations: 7.953 kB / 477 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4629, allocations: 11.94 kB / 477.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4629, allocations: 7.984 kB / 477.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.463, allocations: 4 kB / 477.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.463, allocations: 4 kB / 477.1 MB, free: 4.941 MB / 346.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.4631, allocations: 113.1 kB / 477.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.4632, allocations: 61.34 kB / 477.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.4634, allocations: 103.5 kB / 477.3 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4634, allocations: 3.953 kB / 477.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.4634, allocations: 4 kB / 477.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4634, allocations: 3.984 kB / 477.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.4636, allocations: 206.1 kB / 477.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4636, allocations: 0 / 477.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.4637, allocations: 12.05 kB / 477.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4637, allocations: 4 kB / 477.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4637, allocations: 4.125 kB / 477.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4637, allocations: 8 kB / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4637, allocations: 0 / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4639, allocations: 170 kB / 477.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.464, allocations: 120.7 kB / 477.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.4641, allocations: 7.953 kB / 477.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.4641, allocations: 7.984 kB / 477.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.4642, allocations: 8 kB / 477.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4642, allocations: 3.984 kB / 477.9 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4644, allocations: 184.5 kB / 478.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4644, allocations: 0 / 478.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.4646, allocations: 32.08 kB / 478.1 MB, free: 3.793 MB / 346.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007888/0.4654, allocations: 356.2 kB / 478.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.4656, allocations: 59.92 kB / 478.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4656, allocations: 4 kB / 478.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.4657, allocations: 24.25 kB / 478.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.466, allocations: 64.25 kB / 478.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.4664, allocations: 220.1 kB / 478.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4667, allocations: 0.736 MB / 479.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.4668, allocations: 21.34 kB / 479.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.4668, allocations: 23.42 kB / 479.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4669, allocations: 0 / 479.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of Templates: time 0.004789/0.4716, allocations: 2.192 MB / 481.8 MB, free: 152 kB / 346.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches