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.001203/0.001203, allocations: 83.89 kB / 21.19 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.001295/0.001295, allocations: 145.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.016/1.016, allocations: 173.3 MB / 201.1 MB, free: 9.332 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.342e-06/1.342e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.979e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002843/0.002873, allocations: 1.913 MB / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004524, allocations: 1.133 MB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.004668, allocations: 0 / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.005039, allocations: 71.59 kB / 271.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.005354, allocations: 95.52 kB / 271.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.006063, allocations: 266.9 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.006304, allocations: 171.5 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.00641, allocations: 21.75 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.006538, allocations: 99.72 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.006642, allocations: 67.84 kB / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.006666, allocations: 8 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.006815, allocations: 71.81 kB / 271.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.006892, allocations: 55.84 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.006951, allocations: 43.78 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.007237, allocations: 183.3 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00724, allocations: 0 / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007242, allocations: 0 / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.007247, allocations: 0 / 272.2 MB, free: 2.227 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.0006166/0.007864, allocations: 0.5633 MB / 272.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.007903, allocations: 8.031 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.007982, allocations: 32.73 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.008282, allocations: 223.6 kB / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.008303, allocations: 4.375 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.008323, allocations: 12.36 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.00866, allocations: 186.7 kB / 273.2 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.008674, allocations: 3.938 kB / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.008687, allocations: 4 kB / 273.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.008697, allocations: 0 / 273.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.008759, allocations: 31.91 kB / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.009245, allocations: 367 kB / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.009411, allocations: 117.3 kB / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.009462, allocations: 43.05 kB / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.009486, allocations: 3.938 kB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.009615, allocations: 77.03 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.009617, allocations: 4 kB / 273.8 MB, free: 360 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002739/0.009891, allocations: 129.6 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.00995, allocations: 128.5 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.01017, allocations: 316.3 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01019, allocations: 33.64 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.01027, allocations: 182.8 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.01029, allocations: 11.91 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.01033, allocations: 35.36 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01048, allocations: 0.5004 MB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.01051, allocations: 20.05 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.01057, allocations: 102.1 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.01064, allocations: 47.25 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01064, allocations: 0 / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.01075, allocations: 81.59 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01076, allocations: 11.92 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01077, allocations: 0 / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01078, allocations: 0 / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.01088, allocations: 16.06 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01089, allocations: 0 / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.01094, allocations: 11.95 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01095, allocations: 7.984 kB / 275.4 MB, free: 14.61 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 0.000109/0.01106, allocations: 164.5 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.01113, allocations: 69.48 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.01129, allocations: 99.38 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.0113, allocations: 4 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0113, allocations: 0 / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.0113, allocations: 4.062 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.01145, allocations: 192.6 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01145, allocations: 0 / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.01151, allocations: 19.92 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01151, allocations: 0 / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01152, allocations: 4.062 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01152, allocations: 4 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01152, allocations: 0 / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.01169, allocations: 171.5 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.01174, allocations: 35.83 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01177, allocations: 7.938 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.01181, allocations: 8 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01185, allocations: 7.984 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.01187, allocations: 7.984 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.012, allocations: 217.1 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.012, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.01219, allocations: 31.94 kB / 276.5 MB, free: 13.49 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.000908/0.0131, allocations: 411 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.01326, allocations: 51.59 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01326, allocations: 0 / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.01331, allocations: 35.66 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01363, allocations: 78.08 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.01412, allocations: 326 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.01418, allocations: 79.98 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.434e-05/0.01424, allocations: 21.47 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.01429, allocations: 20.5 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01429, allocations: 192 / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005699/0.01999, allocations: 2.951 MB / 280.4 MB, free: 9.664 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: 2.974947731010616]