Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.00208/0.00208, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002444/0.002444, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.81/1.81, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 43.94 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1678, allocations: 53.32 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004447/0.1722, allocations: 1.907 MB / 428.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.175, allocations: 1.313 MB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.1752, allocations: 3.938 kB / 430 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1757, allocations: 71.66 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.1763, allocations: 135.4 kB / 430.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1773, allocations: 230.7 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1777, allocations: 175.5 kB / 430.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1779, allocations: 21.55 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1781, allocations: 87.56 kB / 430.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1783, allocations: 83.66 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1783, allocations: 12 kB / 430.8 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.1786, allocations: 67.95 kB / 430.9 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1787, allocations: 59.77 kB / 430.9 MB, free: 148 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1788, allocations: 75.42 kB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2797/0.4585, allocations: 234.9 kB / 431.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4585, allocations: 1.016 kB / 431.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4586, allocations: 1.125 kB / 431.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.036e-06/0.4586, allocations: 0 / 431.2 MB, free: 8.418 MB / 350.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.0007964/0.4594, allocations: 0.5396 MB / 431.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4594, allocations: 9.469 kB / 431.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.4595, allocations: 26.64 kB / 431.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.4599, allocations: 298.3 kB / 432.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.46, allocations: 7.781 kB / 432.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.46, allocations: 7.344 kB / 432.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.4603, allocations: 162 kB / 432.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4603, allocations: 2.484 kB / 432.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4604, allocations: 6.422 kB / 432.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4604, allocations: 1.719 kB / 432.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4605, allocations: 33.16 kB / 432.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.461, allocations: 388.2 kB / 432.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.4612, allocations: 114.6 kB / 432.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.4613, allocations: 47.2 kB / 432.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4613, allocations: 7.5 kB / 432.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4615, allocations: 80.42 kB / 432.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4615, allocations: 0 / 432.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004325/0.4619, allocations: 155 kB / 433.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.462, allocations: 164.8 kB / 433.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.4623, allocations: 333.9 kB / 433.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4623, allocations: 28.02 kB / 433.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.4624, allocations: 131.6 kB / 433.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.4624, allocations: 21.48 kB / 433.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.4625, allocations: 35.23 kB / 433.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.4626, allocations: 336.5 kB / 434.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.4626, allocations: 21.23 kB / 434.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.4627, allocations: 89.67 kB / 434.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4629, allocations: 86.67 kB / 434.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4629, allocations: 1.781 kB / 434.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002164/0.4631, allocations: 127.5 kB / 434.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4631, allocations: 6.719 kB / 434.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4631, allocations: 2.625 kB / 434.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4631, allocations: 0 / 434.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4632, allocations: 18.55 kB / 434.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4632, allocations: 3.438 kB / 434.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.4633, allocations: 9.922 kB / 434.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4633, allocations: 4.344 kB / 434.5 MB, free: 6.234 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,table.y,superSample1.y,superSample1.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.0001152/0.4634, allocations: 156.3 kB / 434.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.4635, allocations: 71.7 kB / 434.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.4636, allocations: 33.38 kB / 434.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4636, allocations: 2.344 kB / 434.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4636, allocations: 2.156 kB / 434.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4636, allocations: 0 / 434.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.4638, allocations: 250.8 kB / 435 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4638, allocations: 0 / 435 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.4639, allocations: 16.44 kB / 435 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4639, allocations: 1.094 kB / 435 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4639, allocations: 4.594 kB / 435 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4639, allocations: 4.375 kB / 435 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4639, allocations: 1.094 kB / 435 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4641, allocations: 169.1 kB / 435.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.4642, allocations: 114.5 kB / 435.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.4642, allocations: 10.62 kB / 435.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.4643, allocations: 3.094 kB / 435.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.4644, allocations: 10.61 kB / 435.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4644, allocations: 3.75 kB / 435.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.4646, allocations: 248.2 kB / 435.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4646, allocations: 0 / 435.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.4649, allocations: 41.66 kB / 435.6 MB, free: 5.574 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001711/0.4666, allocations: 428 kB / 436 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.4669, allocations: 71.16 kB / 436.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4669, allocations: 0 / 436.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.467, allocations: 26.88 kB / 436.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4674, allocations: 63.98 kB / 436.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.4681, allocations: 374 kB / 436.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4683, allocations: 0.7372 MB / 437.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.698e-05/0.4684, allocations: 36.78 kB / 437.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.4684, allocations: 29.17 kB / 437.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4684, allocations: 0 / 437.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of Templates: time 0.008786/0.4772, allocations: 2.851 MB / 440.2 MB, free: 4.281 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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: 5.565349005162716]