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.000903/0.000903, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001107/0.001107, allocations: 143.5 kB / 24.89 MB, free: 8.695 MB / 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 0.9666/0.9666, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.173e-06/1.173e-06, allocations: 0 / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.05e-05, allocations: 2.312 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002748/0.002768, allocations: 1.952 MB / 270.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.004128, allocations: 1.137 MB / 271.6 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.004243, allocations: 7.938 kB / 271.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.004516, allocations: 63.61 kB / 271.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.004723, allocations: 99.52 kB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.00523, allocations: 263 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.005421, allocations: 175.5 kB / 272.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.005504, allocations: 18.45 kB / 272.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.005615, allocations: 99.72 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.005702, allocations: 63.75 kB / 272.4 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.00572, allocations: 8 kB / 272.4 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.005859, allocations: 71.88 kB / 272.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.005919, allocations: 59.83 kB / 272.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.005961, allocations: 35.8 kB / 272.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.006179, allocations: 179.4 kB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.006181, allocations: 0 / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006182, allocations: 0 / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.006186, allocations: 4 kB / 272.7 MB, free: 1.922 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.0003867/0.006573, allocations: 441.1 kB / 273.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.006601, allocations: 8.031 kB / 273.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.006634, allocations: 16.92 kB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.006828, allocations: 212.7 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006843, allocations: 8.375 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.006852, allocations: 4.375 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.00703, allocations: 145.9 kB / 273.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007038, allocations: 3.938 kB / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.007044, allocations: 0 / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.007048, allocations: 0 / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.007083, allocations: 26.75 kB / 273.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.007318, allocations: 211.5 kB / 273.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.007434, allocations: 137.4 kB / 273.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.007462, allocations: 26.52 kB / 273.9 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.007476, allocations: 11.92 kB / 273.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/0.007557, allocations: 70.2 kB / 274 MB, free: 480 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.00756, allocations: 4 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001295/0.00769, allocations: 89.72 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.00773, allocations: 106.8 kB / 274.2 MB, free: 248 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.007889, allocations: 254.8 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007904, allocations: 25.7 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.007943, allocations: 100.6 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.007964, allocations: 19.89 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007999, allocations: 33.64 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.008073, allocations: 330.8 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.00809, allocations: 15.14 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.008122, allocations: 56.27 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.008165, allocations: 43.19 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008167, allocations: 0 / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.289e-05/0.00824, allocations: 72.38 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.008251, allocations: 4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008255, allocations: 4 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.008264, allocations: 0 / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.008323, allocations: 11.98 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008326, allocations: 12 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.008358, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.008364, allocations: 4 kB / 275.2 MB, free: 15.2 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.437e-05/0.008428, allocations: 120.6 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.008471, allocations: 57.55 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.008562, allocations: 75.44 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008565, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008567, allocations: 4 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008571, allocations: 8 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.008661, allocations: 113.8 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008662, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.008699, allocations: 12 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008701, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.00871, allocations: 15.92 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008712, allocations: 4.062 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008713, allocations: 0 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.138e-05/0.008795, allocations: 108.4 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.008833, allocations: 23.89 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.00885, allocations: 7.938 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.008884, allocations: 15.98 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.008915, allocations: 3.984 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.008926, allocations: 4 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.008998, allocations: 93.61 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008998, allocations: 0 / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.009145, allocations: 39.88 kB / 275.9 MB, free: 14.44 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.001258/0.0104, allocations: 0.5273 MB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.01049, allocations: 44.77 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.0105, allocations: 0 / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.01053, allocations: 28.78 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01072, allocations: 56.09 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.01106, allocations: 328.3 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.0111, allocations: 79.81 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.01115, allocations: 21.73 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.01123, allocations: 79.36 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01123, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Templates: time 0.005481/0.01671, allocations: 3.119 MB / 280.1 MB, free: 10.39 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 -s gbode -gbm=radauIIA3 -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: 2.5914320559240878]