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.001716/0.001716, allocations: 81.73 kB / 20.68 MB, free: 1.039 MB / 14.72 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.0019/0.0019, allocations: 154.8 kB / 23.94 MB, free: 4.176 MB / 14.72 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.453/1.453, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 318.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.502e-05, allocations: 6.281 kB / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002587/0.002612, allocations: 1.535 MB / 320.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.003526, allocations: 486.4 kB / 320.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.003622, allocations: 5 kB / 320.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.781e-05/0.00368, allocations: 6.328 kB / 320.9 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003836, allocations: 11.66 kB / 320.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.004133, allocations: 53.72 kB / 321 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.004257, allocations: 43.55 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004377, allocations: 17.91 kB / 321.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.004484, allocations: 24.66 kB / 321.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.004559, allocations: 19.8 kB / 321.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.004585, allocations: 7.406 kB / 321.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.004599, allocations: 2.25 kB / 321.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.004654, allocations: 13.11 kB / 321.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.004689, allocations: 15.23 kB / 321.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004839, allocations: 49.31 kB / 321.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004842, allocations: 0 / 321.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004843, allocations: 1.469 kB / 321.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.00485, allocations: 5.016 kB / 321.2 MB, free: 2.105 MB / 286.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.0004903/0.00534, allocations: 308.2 kB / 321.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.005402, allocations: 9.797 kB / 321.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.005447, allocations: 13.97 kB / 321.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.00565, allocations: 143.9 kB / 321.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.005666, allocations: 6.469 kB / 321.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.005679, allocations: 2.812 kB / 321.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.005971, allocations: 108.8 kB / 321.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.005988, allocations: 1.125 kB / 321.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005999, allocations: 5.344 kB / 321.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.00601, allocations: 5.312 kB / 321.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.006096, allocations: 17.31 kB / 321.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.006381, allocations: 210.3 kB / 322 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.576e-05/0.006477, allocations: 46.31 kB / 322 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.006531, allocations: 26.23 kB / 322.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.006552, allocations: 0 / 322.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.006581, allocations: 36.98 kB / 322.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.006582, allocations: 4 kB / 322.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002862/0.006868, allocations: 68.19 kB / 322.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.006934, allocations: 82.52 kB / 322.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.007101, allocations: 137.8 kB / 322.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007113, allocations: 25.7 kB / 322.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.007167, allocations: 87.81 kB / 322.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.007184, allocations: 1.062 kB / 322.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.007218, allocations: 17.38 kB / 322.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.007308, allocations: 318.2 kB / 322.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.007352, allocations: 13.84 kB / 322.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.007384, allocations: 7.656 kB / 322.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.007462, allocations: 25.95 kB / 322.9 MB, free: 488 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007464, allocations: 0 / 322.9 MB, free: 488 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.007574, allocations: 46.89 kB / 322.9 MB, free: 452 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.007594, allocations: 12.69 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.0076, allocations: 0 / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.00762, allocations: 6.359 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.00771, allocations: 4.062 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.007716, allocations: 0 / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.007751, allocations: 3.625 kB / 323 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.00776, allocations: 0 / 323 MB, free: 444 kB / 286.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 7.669e-05/0.007836, allocations: 117 kB / 323.1 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.007891, allocations: 45.81 kB / 323.1 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.007924, allocations: 12.72 kB / 323.1 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007926, allocations: 0 / 323.1 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00793, allocations: 5.281 kB / 323.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007933, allocations: 5.5 kB / 323.1 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.008056, allocations: 110.9 kB / 323.2 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.008059, allocations: 1.562 kB / 323.2 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.008103, allocations: 5.922 kB / 323.2 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008105, allocations: 1.188 kB / 323.3 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.008115, allocations: 5.688 kB / 323.3 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.008118, allocations: 4.641 kB / 323.3 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.00812, allocations: 1.25 kB / 323.3 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.008308, allocations: 163.2 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.008343, allocations: 15.78 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.008362, allocations: 9.219 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.00843, allocations: 2.484 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.008462, allocations: 1.969 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.008466, allocations: 1.312 kB / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.008576, allocations: 115.8 kB / 323.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008576, allocations: 0 / 323.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.008793, allocations: 3.75 kB / 323.6 MB, free: 15.87 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.0001112/0.008904, allocations: 95.66 kB / 323.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.00907, allocations: 25.22 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009072, allocations: 3.938 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.009123, allocations: 11.64 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.009445, allocations: 13.78 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.009816, allocations: 158.6 kB / 323.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.009902, allocations: 70.59 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.403e-05/0.009936, allocations: 6.875 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.009972, allocations: 14.09 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.009972, allocations: 0 / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003536/0.01351, allocations: 0.5713 MB / 324.5 MB, free: 15.44 MB / 302.1 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: 4.265754349529743]