Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001607/0.001607, allocations: 85.95 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001932/0.001932, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.744e-05, allocations: 6.281 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002572/0.002599, allocations: 1.578 MB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003755, allocations: 0.5441 MB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.003845, allocations: 5.375 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.003895, allocations: 5.297 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.00404, allocations: 12.11 kB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.00439, allocations: 62.45 kB / 327.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004513, allocations: 49.2 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.004611, allocations: 10.59 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.004756, allocations: 32.52 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.00482, allocations: 20.95 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.004841, allocations: 7.562 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.004885, allocations: 6.281 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.004937, allocations: 18.36 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.004972, allocations: 13.62 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.00515, allocations: 58.28 kB / 327.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005154, allocations: 1.094 kB / 327.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005154, allocations: 0 / 327.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.005159, allocations: 0 / 327.5 MB, free: 14.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004936/0.005652, allocations: 302.3 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005686, allocations: 13.16 kB / 327.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.005837, allocations: 18.69 kB / 327.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.006047, allocations: 141.8 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.006058, allocations: 5.688 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.006072, allocations: 7 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.006347, allocations: 106.6 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006356, allocations: 4.188 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006367, allocations: 5.562 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.006371, allocations: 0 / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.006445, allocations: 15.25 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.006735, allocations: 205.7 kB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.006825, allocations: 42.5 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.006876, allocations: 21.25 kB / 328.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.006897, allocations: 0.9375 kB / 328.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.006931, allocations: 41.64 kB / 328.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.006933, allocations: 3.938 kB / 328.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000251/0.007183, allocations: 71.66 kB / 328.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.007258, allocations: 83.05 kB / 328.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.007415, allocations: 146 kB / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.007432, allocations: 25.7 kB / 328.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.007509, allocations: 87.27 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.007528, allocations: 9.656 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007562, allocations: 12.97 kB / 328.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.007713, allocations: 318.5 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.007758, allocations: 10.14 kB / 329.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.007787, allocations: 6.375 kB / 329.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.007862, allocations: 22.83 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.007866, allocations: 4 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.007987, allocations: 54.67 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008001, allocations: 5.344 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008006, allocations: 7.062 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.008021, allocations: 0 / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.008085, allocations: 5.125 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.00809, allocations: 0 / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.00812, allocations: 0.9375 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.008126, allocations: 3.172 kB / 329.2 MB, free: 13.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.72e-05/0.008223, allocations: 115.8 kB / 329.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.008294, allocations: 42.66 kB / 329.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.008328, allocations: 17.89 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008332, allocations: 11.95 kB / 329.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008336, allocations: 0 / 329.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008339, allocations: 0 / 329.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.008495, allocations: 117.8 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008496, allocations: 0 / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.008538, allocations: 5.578 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.00854, allocations: 7 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.008549, allocations: 4.688 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00855, allocations: 0 / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008552, allocations: 3.719 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.008739, allocations: 155.3 kB / 329.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.00878, allocations: 20.64 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.008806, allocations: 5 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.008873, allocations: 3.516 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.008902, allocations: 1.547 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.008908, allocations: 1.641 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.009002, allocations: 112.8 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009002, allocations: 0 / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.009216, allocations: 4.281 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000109/0.009325, allocations: 107.5 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.009463, allocations: 19.28 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009465, allocations: 0 / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.009507, allocations: 12.77 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.009822, allocations: 14.95 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.01019, allocations: 161.2 kB / 330.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.01029, allocations: 84.92 kB / 330.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.01033, allocations: 2.875 kB / 330.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.01036, allocations: 10.78 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01036, allocations: 0 / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Templates: time 0.003274/0.01364, allocations: 0.5708 MB / 330.8 MB, free: 12.31 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.26964682713151]