Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 205.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 258.1 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.88 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3462, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003756/0.35, allocations: 1.868 MB / 434.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3524, allocations: 1.231 MB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.3525, allocations: 7.938 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.3529, allocations: 63.67 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.3533, allocations: 143.4 kB / 435.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.354, allocations: 230.3 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3543, allocations: 179.5 kB / 436.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3545, allocations: 17.73 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3546, allocations: 79.64 kB / 436.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3547, allocations: 83.66 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3548, allocations: 8 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.3549, allocations: 79.88 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.355, allocations: 47.84 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.816e-05/0.3551, allocations: 63.53 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.3555, allocations: 244.7 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3555, allocations: 0 / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3555, allocations: 4 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3555, allocations: 0 / 436.7 MB, free: 2.195 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.0007946/0.3563, allocations: 474.5 kB / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3564, allocations: 11.98 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.3564, allocations: 24.8 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.357, allocations: 241.4 kB / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.357, allocations: 4.375 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.357, allocations: 8.375 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.3574, allocations: 192.2 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3574, allocations: 0 / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3574, allocations: 0 / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3574, allocations: 4 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3575, allocations: 43.91 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3581, allocations: 314.1 kB / 438 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.3584, allocations: 115.9 kB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.3585, allocations: 50.48 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3585, allocations: 3.938 kB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3587, allocations: 79.38 kB / 438.2 MB, free: 500 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3587, allocations: 4 kB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004258/0.3591, allocations: 157.4 kB / 438.4 MB, free: 332 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3592, allocations: 136.5 kB / 438.5 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.3596, allocations: 333.9 kB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3597, allocations: 25.7 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3598, allocations: 136.1 kB / 439 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3598, allocations: 23.91 kB / 439 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.3599, allocations: 33.7 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.36, allocations: 335 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.3601, allocations: 31.92 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3603, allocations: 141.3 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3604, allocations: 88.2 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3604, allocations: 0 / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.3607, allocations: 133.5 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3607, allocations: 4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3607, allocations: 4.312 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3607, allocations: 0 / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3608, allocations: 27.92 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3608, allocations: 0 / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3609, allocations: 4 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3609, allocations: 8 kB / 439.8 MB, free: 14.77 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.0001549/0.3611, allocations: 154.5 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3612, allocations: 73.48 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.3615, allocations: 123.4 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3615, allocations: 7.984 kB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3615, allocations: 0 / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3615, allocations: 3.984 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3618, allocations: 177.1 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3618, allocations: 3.938 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.3618, allocations: 15.98 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3618, allocations: 0 / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3619, allocations: 4 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3619, allocations: 4.062 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3619, allocations: 0 / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3622, allocations: 182.5 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.3622, allocations: 43.83 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3623, allocations: 0 / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.3623, allocations: 8 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3624, allocations: 7.984 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3624, allocations: 4 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.3627, allocations: 253.2 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3627, allocations: 3.938 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.363, allocations: 35.94 kB / 440.9 MB, free: 13.61 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.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.001656/0.3646, allocations: 444.3 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3649, allocations: 71.89 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3649, allocations: 0 / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.3649, allocations: 31.97 kB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3654, allocations: 64.86 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.3661, allocations: 414.6 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.3662, allocations: 127.9 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.3663, allocations: 23.44 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3663, allocations: 0 / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.006253/0.3725, allocations: 3.031 MB / 445.1 MB, free: 9.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.512579129077494]