Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 80.98 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 155 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.258e-05, allocations: 2.281 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002968/0.00299, allocations: 1.842 MB / 320.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.004743, allocations: 1.084 MB / 321.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.004892, allocations: 6.438 kB / 321.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.005223, allocations: 72.53 kB / 321.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.005505, allocations: 100 kB / 322 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.006244, allocations: 264.5 kB / 322.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.006479, allocations: 169.6 kB / 322.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.006598, allocations: 25.12 kB / 322.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.00676, allocations: 101.1 kB / 322.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.006884, allocations: 76.12 kB / 322.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.006911, allocations: 7.812 kB / 322.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.007075, allocations: 71.06 kB / 322.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.007156, allocations: 46.78 kB / 322.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.00723, allocations: 46.27 kB / 322.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.0076, allocations: 237.5 kB / 323 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.007605, allocations: 0 / 323 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007607, allocations: 0 / 323 MB, free: 1.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.007613, allocations: 0.6562 kB / 323 MB, free: 1.105 MB / 286.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.000626/0.00824, allocations: 473 kB / 323.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.008272, allocations: 15.38 kB / 323.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.008335, allocations: 23.06 kB / 323.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.008678, allocations: 223.8 kB / 323.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.008696, allocations: 8.5 kB / 323.8 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.008713, allocations: 5.156 kB / 323.8 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.009056, allocations: 177.8 kB / 323.9 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.009068, allocations: 11.88 kB / 324 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.009082, allocations: 1.672 kB / 324 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.009087, allocations: 1 kB / 324 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.00921, allocations: 45.28 kB / 324 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.009643, allocations: 312.2 kB / 324.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.00993, allocations: 119.2 kB / 324.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01003, allocations: 51.2 kB / 324.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.01006, allocations: 5.062 kB / 324.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.01025, allocations: 79.33 kB / 324.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.01025, allocations: 0 / 324.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000445/0.01069, allocations: 160.7 kB / 324.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.01081, allocations: 132.9 kB / 324.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.01122, allocations: 326.1 kB / 325.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01124, allocations: 26.8 kB / 325.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01135, allocations: 124 kB / 325.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.01138, allocations: 21.45 kB / 325.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.01144, allocations: 32.77 kB / 325.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.01163, allocations: 330.6 kB / 325.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.0117, allocations: 18.61 kB / 325.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.01184, allocations: 112.2 kB / 325.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.012, allocations: 68.73 kB / 325.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.012, allocations: 0 / 325.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002386/0.01224, allocations: 99.38 kB / 326 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01226, allocations: 9.234 kB / 326 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01227, allocations: 8 kB / 326 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01228, allocations: 1.375 kB / 326 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01241, allocations: 21.58 kB / 326 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01242, allocations: 160 / 326 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.01249, allocations: 9.531 kB / 326 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01251, allocations: 6.016 kB / 326 MB, free: 14.72 MB / 302.1 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.0001703/0.01268, allocations: 154.3 kB / 326.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.01279, allocations: 71.31 kB / 326.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.01312, allocations: 141.5 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01313, allocations: 2.75 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01313, allocations: 0 / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01314, allocations: 1.375 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.01336, allocations: 172.2 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01336, allocations: 1 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.01344, allocations: 16.28 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01344, allocations: 2.281 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01346, allocations: 3.844 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01346, allocations: 0 / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01346, allocations: 0.9062 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01379, allocations: 179.4 kB / 326.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.01388, allocations: 34.55 kB / 326.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01392, allocations: 7.031 kB / 326.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.01399, allocations: 4.172 kB / 326.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.01405, allocations: 12.59 kB / 326.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.01407, allocations: 5 kB / 326.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.01437, allocations: 238.6 kB / 327.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01437, allocations: 0 / 327.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.01468, allocations: 34.11 kB / 327.1 MB, free: 14.02 MB / 302.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.001762/0.01644, allocations: 467.7 kB / 327.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.0167, allocations: 66.16 kB / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0167, allocations: 0 / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.0168, allocations: 33.41 kB / 327.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.01723, allocations: 67.28 kB / 327.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.01795, allocations: 364 kB / 328.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.0181, allocations: 135.2 kB / 328.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.245e-05/0.0182, allocations: 30.69 kB / 328.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.01827, allocations: 26.52 kB / 328.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.01827, allocations: 0 / 328.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Templates: time 0.008824/0.02709, allocations: 2.919 MB / 331.2 MB, free: 12.66 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.37370815500617]