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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 110.5 kB / 17.06 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 198.9 kB / 18 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3544, allocations: 49.42 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002847/0.3573, allocations: 1.563 MB / 402.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.3582, allocations: 0.4947 MB / 402.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3583, allocations: 3.938 kB / 402.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.3583, allocations: 3.938 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3585, allocations: 15.92 kB / 402.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3587, allocations: 51.77 kB / 402.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.3588, allocations: 39.86 kB / 402.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.3589, allocations: 19.97 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.359, allocations: 27.86 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.3591, allocations: 23.86 kB / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3591, allocations: 0 / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.3591, allocations: 4 kB / 402.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.3592, allocations: 8 kB / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.3592, allocations: 31.78 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.3593, allocations: 51.77 kB / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3593, allocations: 0 / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3593, allocations: 0 / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3593, allocations: 0 / 403 MB, free: 6.547 MB / 318.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.0004524/0.3598, allocations: 384.3 kB / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3598, allocations: 8.031 kB / 403.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3599, allocations: 8.844 kB / 403.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3601, allocations: 207.9 kB / 403.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3602, allocations: 4.375 kB / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3602, allocations: 384 / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.3604, allocations: 113.3 kB / 403.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3604, allocations: 0 / 403.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3604, allocations: 0 / 403.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3605, allocations: 4 kB / 403.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.3605, allocations: 11.98 kB / 403.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3608, allocations: 269.7 kB / 404 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.3609, allocations: 41.22 kB / 404.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.361, allocations: 17.77 kB / 404.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.361, allocations: 4 kB / 404.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.361, allocations: 42.5 kB / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.361, allocations: 0 / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002205/0.3613, allocations: 65.52 kB / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.3613, allocations: 81.11 kB / 404.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3615, allocations: 134.2 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3615, allocations: 29.7 kB / 404.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3615, allocations: 100.3 kB / 404.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.3616, allocations: 3.906 kB / 404.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3616, allocations: 13.72 kB / 404.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3617, allocations: 318.8 kB / 404.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.3618, allocations: 4 kB / 404.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.3618, allocations: 25.7 kB / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.3619, allocations: 37.64 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3619, allocations: 4 kB / 404.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.362, allocations: 45.69 kB / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.362, allocations: 4 kB / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3621, allocations: 0 / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3621, allocations: 0 / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.3621, allocations: 15.88 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3622, allocations: 12.05 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.3622, allocations: 4 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3622, allocations: 4 kB / 405 MB, free: 4.305 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.142e-05/0.3623, allocations: 117.8 kB / 405.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3624, allocations: 41.59 kB / 405.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3624, allocations: 11.86 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3624, allocations: 0 / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3624, allocations: 4 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3624, allocations: 4.031 kB / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3626, allocations: 173.5 kB / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3626, allocations: 0 / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.3627, allocations: 7.984 kB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3627, allocations: 4 kB / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3627, allocations: 0 / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3627, allocations: 3.938 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3627, allocations: 0 / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.3629, allocations: 164.2 kB / 405.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.363, allocations: 93 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.363, allocations: 3.984 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.3631, allocations: 4 kB / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3631, allocations: 0 / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3631, allocations: 0 / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.61e-05/0.3632, allocations: 114 kB / 405.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 32 / 405.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.3634, allocations: 8 kB / 405.7 MB, free: 3.461 MB / 318.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.0001009/0.3635, allocations: 99.98 kB / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3636, allocations: 23.92 kB / 405.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3636, allocations: 0 / 405.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.3637, allocations: 11.98 kB / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.364, allocations: 20.09 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3643, allocations: 163.6 kB / 406.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3646, allocations: 0.6922 MB / 406.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.3646, allocations: 0 / 406.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3647, allocations: 11.44 kB / 406.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3647, allocations: 3.938 kB / 406.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Templates: time 0.00244/0.3671, allocations: 0.5242 MB / 407.3 MB, free: 1.859 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (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) 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) Reference file matches