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.001487/0.001487, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001425/0.001425, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.49/1.49, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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 0.002564/0.002564, allocations: 43.92 kB / 370.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2665, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003313/0.2698, allocations: 1.867 MB / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2717, allocations: 1.095 MB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.2718, allocations: 0 / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.272, allocations: 67.61 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.2723, allocations: 95.58 kB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.2729, allocations: 265.5 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.2731, allocations: 171.5 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.2732, allocations: 17.73 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2733, allocations: 75.7 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2735, allocations: 79.66 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2735, allocations: 8 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.2736, allocations: 71.89 kB / 426.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.2737, allocations: 55.77 kB / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.2738, allocations: 59.61 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.2741, allocations: 237.3 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2741, allocations: 3.938 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2741, allocations: 0 / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.922e-06/0.2741, allocations: 0 / 427.2 MB, free: 10.34 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.0008439/0.275, allocations: 473.7 kB / 427.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.275, allocations: 8.031 kB / 427.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.2751, allocations: 24.8 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.2755, allocations: 241.4 kB / 427.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2756, allocations: 4.375 kB / 427.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2756, allocations: 12.12 kB / 427.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.276, allocations: 176.4 kB / 428.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.276, allocations: 0 / 428.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.276, allocations: 4 kB / 428.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.276, allocations: 0 / 428.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.2761, allocations: 43.91 kB / 428.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2766, allocations: 314.1 kB / 428.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.2769, allocations: 115.9 kB / 428.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.277, allocations: 50.5 kB / 428.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.277, allocations: 7.984 kB / 428.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.2771, allocations: 71.39 kB / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2771, allocations: 4 kB / 428.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003893/0.2775, allocations: 161.4 kB / 428.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.2776, allocations: 136.5 kB / 429 MB, free: 8.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.278, allocations: 329.8 kB / 429.3 MB, free: 8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.278, allocations: 29.7 kB / 429.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.2781, allocations: 124.1 kB / 429.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2781, allocations: 15.89 kB / 429.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.2782, allocations: 33.67 kB / 429.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2783, allocations: 334.8 kB / 429.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.2784, allocations: 23.98 kB / 429.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2785, allocations: 133.6 kB / 430 MB, free: 7.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2787, allocations: 100.1 kB / 430.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2787, allocations: 3.938 kB / 430.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.2789, allocations: 117.5 kB / 430.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2789, allocations: 4 kB / 430.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.2789, allocations: 4.109 kB / 430.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2789, allocations: 8 kB / 430.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.279, allocations: 20.25 kB / 430.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2791, allocations: 0 / 430.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.2791, allocations: 15.94 kB / 430.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2791, allocations: 8 kB / 430.3 MB, free: 6.965 MB / 334.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.0001496/0.2793, allocations: 153.7 kB / 430.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2794, allocations: 69.48 kB / 430.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.2797, allocations: 123.4 kB / 430.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2797, allocations: 11.92 kB / 430.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2797, allocations: 4 kB / 430.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2797, allocations: 0 / 430.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2799, allocations: 177.3 kB / 430.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2799, allocations: 0 / 430.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.2799, allocations: 11.98 kB / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.2799, allocations: 4 kB / 430.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.28, allocations: 0 / 430.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.28, allocations: 4 kB / 430.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.28, allocations: 0 / 430.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.2803, allocations: 178.5 kB / 431 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.2803, allocations: 39.83 kB / 431 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.2804, allocations: 4 kB / 431.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.2804, allocations: 4 kB / 431.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2805, allocations: 7.984 kB / 431.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2805, allocations: 7.984 kB / 431.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.2807, allocations: 241.2 kB / 431.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2807, allocations: 0 / 431.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.281, allocations: 35.94 kB / 431.3 MB, free: 5.828 MB / 334.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.001588/0.2826, allocations: 464.8 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2828, allocations: 75.83 kB / 431.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2828, allocations: 4 kB / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.2829, allocations: 31.92 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2833, allocations: 57.28 kB / 432 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.2839, allocations: 369.2 kB / 432.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.284, allocations: 131.9 kB / 432.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.2841, allocations: 25.62 kB / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.2841, allocations: 27.42 kB / 432.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2841, allocations: 0 / 432.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of Templates: time 0.006756/0.2909, allocations: 3.065 MB / 435.6 MB, free: 1.777 MB / 334.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.692163560539484]