Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003282/0.003282, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.949/1.949, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 51.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3429, allocations: 53.37 MB / 432.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005801/0.3487, allocations: 1.876 MB / 434.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.3526, allocations: 1.134 MB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3527, allocations: 7.938 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009162/0.3537, allocations: 163.5 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.3543, allocations: 151.4 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008739/0.3552, allocations: 174.7 kB / 435.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.3556, allocations: 191.5 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3558, allocations: 21.53 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3559, allocations: 75.64 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3561, allocations: 91.56 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3562, allocations: 8 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.3564, allocations: 59.95 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3565, allocations: 43.84 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3566, allocations: 59.53 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.3572, allocations: 218 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3572, allocations: 0 / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3572, allocations: 0 / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3572, allocations: 0 / 436.6 MB, free: 2.395 MB / 334.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.001279/0.3585, allocations: 454.7 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3586, allocations: 11.97 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.3587, allocations: 24.8 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.3592, allocations: 209.2 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3593, allocations: 4.375 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3593, allocations: 12.12 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.3598, allocations: 137.9 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3598, allocations: 4 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.3599, allocations: 8 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3599, allocations: 0 / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3601, allocations: 35.92 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.3608, allocations: 302.1 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.3613, allocations: 107.8 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3614, allocations: 46.5 kB / 437.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.3615, allocations: 4 kB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.3617, allocations: 71.39 kB / 438 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.3617, allocations: 0 / 438 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000676/0.3624, allocations: 153.4 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3626, allocations: 110.8 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.3631, allocations: 273 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3631, allocations: 29.7 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3633, allocations: 116.1 kB / 438.6 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.3633, allocations: 16.14 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.3634, allocations: 37.66 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.3637, allocations: 334.8 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3638, allocations: 19.98 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.364, allocations: 90.84 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.3643, allocations: 80.16 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3643, allocations: 0 / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004092/0.3647, allocations: 117.5 kB / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3647, allocations: 4 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3648, allocations: 0 / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3648, allocations: 4 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3649, allocations: 23.86 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3649, allocations: 4 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.365, allocations: 8.266 kB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3651, allocations: 4 kB / 439.4 MB, free: 15.32 MB / 350.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.0002284/0.3653, allocations: 154.6 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.3654, allocations: 65.53 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.3659, allocations: 111.3 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3659, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3659, allocations: 0 / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3659, allocations: 7.922 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3662, allocations: 177.2 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3662, allocations: 0 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.3662, allocations: 7.984 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.3662, allocations: 4.062 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3663, allocations: 4 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3663, allocations: 0 / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3663, allocations: 4 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.3667, allocations: 162.6 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3668, allocations: 31.84 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3669, allocations: 4 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.367, allocations: 8 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.367, allocations: 3.984 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3671, allocations: 4 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003902/0.3675, allocations: 208.5 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3675, allocations: 0 / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.3679, allocations: 31.92 kB / 440.3 MB, free: 14.27 MB / 350.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.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.002522/0.3704, allocations: 457.5 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.3708, allocations: 75.84 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3708, allocations: 0 / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.371, allocations: 28.17 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.3717, allocations: 59 kB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.3726, allocations: 321.7 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3728, allocations: 115.3 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.3729, allocations: 25.81 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.373, allocations: 27.36 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.373, allocations: 0 / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Templates: time 0.01002/0.383, allocations: 2.691 MB / 444.1 MB, free: 10.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.526007898995886]