Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0007779/0.0007779, allocations: 84 kB / 21.43 MB, free: 3.129 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.002976/0.002976, allocations: 146.7 kB / 24.68 MB, free: 9.426 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.808/0.808, allocations: 173.4 MB / 201.2 MB, free: 9.453 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.57e-05, allocations: 6.281 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00158/0.001596, allocations: 1.551 MB / 321.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.002127, allocations: 478.6 kB / 321.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.002193, allocations: 4 kB / 321.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.002229, allocations: 3.938 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.002342, allocations: 7.922 kB / 321.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.002542, allocations: 71.5 kB / 321.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.002622, allocations: 39.86 kB / 321.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.002707, allocations: 19.92 kB / 321.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.002764, allocations: 31.91 kB / 321.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.002806, allocations: 15.92 kB / 321.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.002825, allocations: 4 kB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002834, allocations: 4 kB / 321.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.002875, allocations: 15.92 kB / 321.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.002893, allocations: 8 kB / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.458e-05/0.002988, allocations: 63.67 kB / 322 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002989, allocations: 0 / 322 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00299, allocations: 0 / 322 MB, free: 3.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.002994, allocations: 0 / 322 MB, free: 3.555 MB / 282.7 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.000322/0.003316, allocations: 306 kB / 322.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.003346, allocations: 8.922 kB / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.003373, allocations: 12.89 kB / 322.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.003529, allocations: 133.6 kB / 322.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.003537, allocations: 4.375 kB / 322.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.003546, allocations: 384 / 322.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.003743, allocations: 109.6 kB / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.00375, allocations: 192 / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003758, allocations: 4.375 kB / 322.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.003763, allocations: 3.938 kB / 322.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.003806, allocations: 27.91 kB / 322.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.004016, allocations: 205.4 kB / 322.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.004071, allocations: 53.2 kB / 322.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.004096, allocations: 13.72 kB / 322.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004112, allocations: 0 / 322.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004131, allocations: 42.48 kB / 322.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.004132, allocations: 3.938 kB / 322.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.004278, allocations: 69.58 kB / 322.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.004317, allocations: 85.09 kB / 323 MB, free: 2.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.004409, allocations: 140.3 kB / 323.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.004419, allocations: 25.7 kB / 323.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.004456, allocations: 88.14 kB / 323.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.004467, allocations: 0 / 323.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.00449, allocations: 25.66 kB / 323.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.004561, allocations: 310.8 kB / 323.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.004581, allocations: 16.23 kB / 323.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.004594, allocations: 4 kB / 323.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.00463, allocations: 20.84 kB / 323.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004632, allocations: 0 / 323.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.987e-05/0.004682, allocations: 49.62 kB / 323.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.004693, allocations: 7.938 kB / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004697, allocations: 0 / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004706, allocations: 4.094 kB / 323.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.00475, allocations: 11.92 kB / 323.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.004754, allocations: 0 / 323.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.004768, allocations: 4 kB / 323.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004773, allocations: 0 / 323.7 MB, free: 1.594 MB / 282.7 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 5.129e-05/0.004824, allocations: 113.8 kB / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.004853, allocations: 45.58 kB / 323.9 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.004874, allocations: 11.81 kB / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.004874, allocations: 0 / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.004877, allocations: 0 / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00488, allocations: 4.031 kB / 323.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.004959, allocations: 121.3 kB / 324 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.004961, allocations: 4 kB / 324 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.004977, allocations: 4 kB / 324 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.004977, allocations: 0 / 324 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.004983, allocations: 3.938 kB / 324 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004984, allocations: 0 / 324 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.004986, allocations: 11.92 kB / 324 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.109e-05/0.005067, allocations: 156.3 kB / 324.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.005091, allocations: 23.95 kB / 324.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.005101, allocations: 7.875 kB / 324.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.005132, allocations: 4 kB / 324.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.005154, allocations: 0 / 324.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005155, allocations: 0 / 324.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.005199, allocations: 114.5 kB / 324.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005199, allocations: 0 / 324.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.005335, allocations: 4 kB / 324.3 MB, free: 0.9141 MB / 282.7 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 5.515e-05/0.00539, allocations: 95.25 kB / 324.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.005466, allocations: 23.92 kB / 324.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.005467, allocations: 4 kB / 324.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.005485, allocations: 7.984 kB / 324.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.005704, allocations: 16.02 kB / 324.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.005944, allocations: 183.3 kB / 324.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.005995, allocations: 71.34 kB / 324.7 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.006018, allocations: 20.64 kB / 324.7 MB, free: 448 kB / 282.7 MB Notification: Performance of SimCode: time 2.71e-07/0.006019, allocations: 0 / 324.7 MB, free: 448 kB / 282.7 MB Notification: Performance of Templates: time 0.001288/0.007307, allocations: 0.7241 MB / 325.5 MB, free: 15.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 3.718776642344892]