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.001222/0.001222, allocations: 80.06 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001762/0.001762, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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.051/1.051, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.833e-06/1.833e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.867e-05, allocations: 6.25 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002386/0.002405, allocations: 1.923 MB / 269.9 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003898, allocations: 1.129 MB / 271 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004023, allocations: 7.938 kB / 271 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.004337, allocations: 63.61 kB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.004588, allocations: 95.53 kB / 271.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.005142, allocations: 263 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.005365, allocations: 175.5 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005475, allocations: 21.8 kB / 271.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.005596, allocations: 103.7 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.005692, allocations: 63.86 kB / 271.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.005714, allocations: 8 kB / 271.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.005852, allocations: 71.88 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.005924, allocations: 55.77 kB / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.005978, allocations: 43.84 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.00622, allocations: 179.3 kB / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.006222, allocations: 0 / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006223, allocations: 0 / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.006228, allocations: 0 / 272.2 MB, free: 2.246 MB / 250.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.0005885/0.006817, allocations: 0.5594 MB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.006859, allocations: 16.03 kB / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.006927, allocations: 28.75 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.00718, allocations: 219.7 kB / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.007199, allocations: 8.312 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.007214, allocations: 8.375 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.007488, allocations: 157.3 kB / 273.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.007497, allocations: 7.938 kB / 273.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.00751, allocations: 4 kB / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007518, allocations: 0 / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.007569, allocations: 23.92 kB / 273.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.007943, allocations: 359 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.008087, allocations: 117.3 kB / 273.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.008132, allocations: 43.05 kB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.008151, allocations: 11.98 kB / 273.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.00825, allocations: 76.98 kB / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.008251, allocations: 0 / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002409/0.008492, allocations: 125.5 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.008548, allocations: 110.8 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.008775, allocations: 324.2 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.008792, allocations: 33.64 kB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.008868, allocations: 175.1 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.008888, allocations: 19.97 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.008926, allocations: 31.36 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.00905, allocations: 0.5079 MB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.009074, allocations: 8 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.009124, allocations: 68.75 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.009183, allocations: 47.25 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.009186, allocations: 0 / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.009291, allocations: 81.58 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.009304, allocations: 8.062 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009309, allocations: 4 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.009321, allocations: 0 / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.009392, allocations: 15.94 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.009399, allocations: 3.984 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.009438, allocations: 7.953 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.009444, allocations: 4 kB / 275.3 MB, free: 14.75 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 8.385e-05/0.009528, allocations: 164.5 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.009583, allocations: 69.48 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.009724, allocations: 103.5 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009726, allocations: 0 / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009729, allocations: 0 / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009733, allocations: 4 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.009863, allocations: 192.8 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.009866, allocations: 4 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.009905, allocations: 19.92 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009907, allocations: 0 / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.009916, allocations: 4 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009918, allocations: 0 / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.00992, allocations: 4 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.01006, allocations: 171.5 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.0101, allocations: 35.84 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01012, allocations: 7.938 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.01015, allocations: 4 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.0102, allocations: 7.984 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01022, allocations: 7.984 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.01034, allocations: 217.1 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 0 / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.01052, allocations: 35.92 kB / 276.4 MB, free: 13.63 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.0009041/0.01142, allocations: 405.5 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01155, allocations: 51.59 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01155, allocations: 4.062 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.0116, allocations: 39.59 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01185, allocations: 67.14 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.01225, allocations: 328.8 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.566e-05/0.0123, allocations: 83.81 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.01235, allocations: 21.67 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01239, allocations: 20.5 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01239, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.004902/0.01729, allocations: 3.067 MB / 280.4 MB, free: 9.684 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1325767408125103]