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.001178/0.001178, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001132/0.001132, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9679/0.9679, allocations: 177.1 MB / 205.3 MB, free: 5.461 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 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.015e-05, allocations: 6.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002319/0.00234, allocations: 1.928 MB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.003887, allocations: 1.289 MB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.003983, allocations: 7.938 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.004227, allocations: 59.61 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.004514, allocations: 143.3 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.004977, allocations: 231.1 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.005173, allocations: 183.5 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.00525, allocations: 30.38 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.005366, allocations: 103.7 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.005451, allocations: 59.88 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.005467, allocations: 8 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.005587, allocations: 71.81 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.005648, allocations: 55.83 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.005689, allocations: 43.8 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.0059, allocations: 187.4 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005902, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005902, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.005906, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.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.0004023/0.006308, allocations: 449 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.006336, allocations: 8.031 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.006372, allocations: 24.92 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.006568, allocations: 220.8 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.00658, allocations: 4.312 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.006593, allocations: 12.38 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.006767, allocations: 133.9 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006774, allocations: 7.875 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.006781, allocations: 0 / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.006785, allocations: 4 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.653e-05/0.006822, allocations: 18.81 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.007056, allocations: 211.5 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.007168, allocations: 133.4 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.007198, allocations: 34.56 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.007212, allocations: 3.938 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.705e-05/0.007289, allocations: 62.22 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.00729, allocations: 0 / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001286/0.007419, allocations: 89.53 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.007464, allocations: 114.8 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.00762, allocations: 254.7 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.007637, allocations: 33.69 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.007676, allocations: 104.6 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.007697, allocations: 19.83 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.00773, allocations: 29.66 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.007811, allocations: 334.8 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.007827, allocations: 7.078 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.007865, allocations: 56.22 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.007909, allocations: 47.33 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.007911, allocations: 0 / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.983e-05/0.00799, allocations: 76.69 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.008, allocations: 4 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.008004, allocations: 0 / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.008012, allocations: 4 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.008069, allocations: 11.98 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.008071, allocations: 4.062 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.008107, allocations: 11.98 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.008111, allocations: 3.938 kB / 280.3 MB, free: 10.16 MB / 266.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 6.818e-05/0.00818, allocations: 117.4 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.008223, allocations: 61.61 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.161e-05/0.008315, allocations: 79.38 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008317, allocations: 0 / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.008318, allocations: 0 / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008322, allocations: 4 kB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.008414, allocations: 117.8 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008415, allocations: 0 / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.008452, allocations: 12 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008453, allocations: 0 / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.008461, allocations: 3.938 kB / 280.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008463, allocations: 7.984 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008464, allocations: 0 / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.996e-05/0.008544, allocations: 108.4 kB / 280.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.008588, allocations: 31.78 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.008608, allocations: 11.94 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.998e-05/0.008638, allocations: 7.984 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.008669, allocations: 11.98 kB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.008679, allocations: 4 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.008757, allocations: 101.6 kB / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008757, allocations: 0 / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.00891, allocations: 31.94 kB / 281 MB, free: 9.387 MB / 266.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.001008/0.009918, allocations: 0.5129 MB / 281.5 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.01001, allocations: 52.77 kB / 281.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01001, allocations: 0 / 281.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.01005, allocations: 28.78 kB / 281.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.01023, allocations: 57.22 kB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.01058, allocations: 343.3 kB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.01063, allocations: 87.91 kB / 282.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.01067, allocations: 21.73 kB / 282.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.01076, allocations: 87.28 kB / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01076, allocations: 0 / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of Templates: time 0.00468/0.01544, allocations: 3.136 MB / 285.3 MB, free: 5.301 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7294244468212128]