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.001088/0.001088, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.000923/0.000923, allocations: 138.7 kB / 24.97 MB, free: 9.297 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.9567/0.9567, allocations: 173.4 MB / 201.5 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.232e-06/1.232e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.128e-05, allocations: 6.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002557/0.002578, allocations: 1.909 MB / 270 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004181, allocations: 1.125 MB / 271.1 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.004303, allocations: 3.938 kB / 271.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.004608, allocations: 63.67 kB / 271.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.004856, allocations: 99.52 kB / 271.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.005544, allocations: 267 kB / 271.5 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.005772, allocations: 171.4 kB / 271.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.005885, allocations: 25.78 kB / 271.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.006003, allocations: 87.8 kB / 271.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.006102, allocations: 75.78 kB / 271.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.006123, allocations: 12 kB / 271.9 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.00625, allocations: 71.81 kB / 272 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.00632, allocations: 55.78 kB / 272 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.006371, allocations: 39.84 kB / 272.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.006603, allocations: 183.3 kB / 272.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006607, allocations: 4 kB / 272.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006608, allocations: 0 / 272.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.006611, allocations: 0 / 272.2 MB, free: 2.527 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.0005843/0.007196, allocations: 0.5555 MB / 272.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.007233, allocations: 12.03 kB / 272.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.007296, allocations: 32.75 kB / 272.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.007551, allocations: 219.6 kB / 273.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.007569, allocations: 4.375 kB / 273.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.007582, allocations: 8.375 kB / 273.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.007865, allocations: 190.7 kB / 273.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007874, allocations: 3.938 kB / 273.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007886, allocations: 8 kB / 273.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.007895, allocations: 4 kB / 273.3 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.007946, allocations: 19.92 kB / 273.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.008322, allocations: 371 kB / 273.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.008467, allocations: 121.3 kB / 273.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.008512, allocations: 38.98 kB / 273.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.00853, allocations: 12 kB / 273.8 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.008631, allocations: 69.05 kB / 273.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.008633, allocations: 0 / 273.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002381/0.008871, allocations: 129.6 kB / 274 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.008941, allocations: 136.5 kB / 274.1 MB, free: 376 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.009147, allocations: 316.3 kB / 274.5 MB, free: 40 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.009163, allocations: 29.7 kB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.009255, allocations: 178.8 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.009276, allocations: 16.14 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.009316, allocations: 39.36 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.009444, allocations: 0.504 MB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.009476, allocations: 15.98 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.009539, allocations: 94.16 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.009602, allocations: 51.23 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.009605, allocations: 0 / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001169/0.009722, allocations: 85.53 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.009737, allocations: 8 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.009742, allocations: 4.062 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009755, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.009837, allocations: 15.98 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.009843, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.009883, allocations: 7.953 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.009888, allocations: 0 / 275.5 MB, free: 14.93 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 9.379e-05/0.009982, allocations: 170.1 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.01004, allocations: 69.5 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.01018, allocations: 99.38 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.01018, allocations: 11.98 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01018, allocations: 4 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01019, allocations: 3.984 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01032, allocations: 192.6 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01032, allocations: 0 / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.01036, allocations: 8 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01036, allocations: 4 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01037, allocations: 8.109 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01038, allocations: 4 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01038, allocations: 0 / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.01052, allocations: 175.5 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.01056, allocations: 35.83 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01059, allocations: 8 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.01062, allocations: 4 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.01067, allocations: 11.98 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01068, allocations: 4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.01081, allocations: 221.1 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.01099, allocations: 31.94 kB / 276.5 MB, free: 13.79 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.0008424/0.01183, allocations: 406.7 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01197, allocations: 55.59 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01197, allocations: 64 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.01202, allocations: 35.66 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01228, allocations: 60.94 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01267, allocations: 330 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.01273, allocations: 79.97 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.01278, allocations: 21.66 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.01283, allocations: 32.48 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01283, allocations: 0 / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Templates: time 0.004744/0.01757, allocations: 2.946 MB / 280.5 MB, free: 9.977 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.0197697379626334]