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.0008725/0.0008725, allocations: 87.62 kB / 21.44 MB, free: 3.133 MB / 18.57 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.00342/0.00342, allocations: 161.9 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.155e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003652/0.003684, allocations: 1.894 MB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.005688, allocations: 1.235 MB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.005845, allocations: 7.938 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.006199, allocations: 75.55 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.00664, allocations: 127.4 kB / 329.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.007364, allocations: 236.3 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.007666, allocations: 187.4 kB / 329.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.007791, allocations: 17.75 kB / 329.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.00797, allocations: 111.7 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.008094, allocations: 59.86 kB / 329.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.008122, allocations: 12 kB / 329.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.00831, allocations: 71.88 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.008406, allocations: 55.83 kB / 329.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.662e-05/0.008473, allocations: 39.86 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.008868, allocations: 239.2 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.008872, allocations: 3.938 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.008874, allocations: 0 / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.008881, allocations: 0 / 330.2 MB, free: 11.07 MB / 298.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.0007317/0.009612, allocations: 489.8 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.009654, allocations: 12.03 kB / 330.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.009733, allocations: 20.8 kB / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.01015, allocations: 236.7 kB / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01017, allocations: 4.375 kB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.01018, allocations: 4.375 kB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.01055, allocations: 181 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01056, allocations: 3.938 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.01057, allocations: 0 / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01058, allocations: 4 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.01068, allocations: 43.84 kB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.01117, allocations: 314.1 kB / 331.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.01139, allocations: 119.8 kB / 331.6 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.01147, allocations: 50.56 kB / 331.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.0115, allocations: 11.94 kB / 331.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.01167, allocations: 75.31 kB / 331.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.01167, allocations: 0 / 331.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003656/0.01203, allocations: 157.6 kB / 331.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.01211, allocations: 140.5 kB / 332 MB, free: 9.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.01245, allocations: 329.9 kB / 332.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.01247, allocations: 33.7 kB / 332.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.01256, allocations: 136.3 kB / 332.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.01259, allocations: 15.84 kB / 332.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.01264, allocations: 29.7 kB / 332.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01276, allocations: 330.8 kB / 332.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.01281, allocations: 24.05 kB / 332.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01291, allocations: 114.8 kB / 333 MB, free: 7.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.01303, allocations: 65.58 kB / 333 MB, free: 7.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01303, allocations: 0 / 333 MB, free: 7.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001796/0.01321, allocations: 105.5 kB / 333.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.01323, allocations: 12.06 kB / 333.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01323, allocations: 0 / 333.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01324, allocations: 0 / 333.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.01333, allocations: 19.92 kB / 333.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01334, allocations: 0 / 333.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.0134, allocations: 4 kB / 333.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.01341, allocations: 0 / 333.2 MB, free: 7.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001327/0.01354, allocations: 158.8 kB / 333.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.01363, allocations: 65.5 kB / 333.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.01387, allocations: 123.5 kB / 333.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.01387, allocations: 7.984 kB / 333.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.01388, allocations: 0 / 333.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01389, allocations: 7.922 kB / 333.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01406, allocations: 181.2 kB / 333.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01407, allocations: 4 kB / 333.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.01413, allocations: 15.98 kB / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01413, allocations: 0 / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01414, allocations: 7.938 kB / 333.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01414, allocations: 4.062 kB / 333.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01415, allocations: 8 kB / 333.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.01437, allocations: 174.5 kB / 333.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.01446, allocations: 43.77 kB / 334 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01448, allocations: 4 kB / 334 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.01453, allocations: 4 kB / 334 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.01459, allocations: 7.984 kB / 334 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01461, allocations: 4 kB / 334 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.01484, allocations: 253.2 kB / 334.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.01484, allocations: 0 / 334.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.01513, allocations: 31.94 kB / 334.3 MB, free: 6.621 MB / 298.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,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.001036/0.01617, allocations: 454.2 kB / 334.7 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.01725, allocations: 71.91 kB / 334.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01726, allocations: 0 / 334.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.01732, allocations: 35.91 kB / 334.8 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01763, allocations: 66.42 kB / 334.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.01815, allocations: 414.6 kB / 335.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.01824, allocations: 139.8 kB / 335.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.01828, allocations: 16.5 kB / 335.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01829, allocations: 0 / 335.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of Templates: time 0.003592/0.02188, allocations: 3.005 MB / 338.4 MB, free: 2.57 MB / 298.7 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: 4.334333358332515]