Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.534/1.534, allocations: 227.7 MB / 247 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 68.92 kB / 307.2 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1615, allocations: 50.54 MB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003795/0.1654, allocations: 1.56 MB / 359.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1667, allocations: 0.5353 MB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.1668, allocations: 4 kB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.1669, allocations: 3.938 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.167, allocations: 11.86 kB / 359.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1674, allocations: 51.83 kB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1675, allocations: 39.86 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1677, allocations: 11.97 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1678, allocations: 27.86 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.1679, allocations: 23.86 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1679, allocations: 0 / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.168, allocations: 12 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1681, allocations: 7.984 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.1681, allocations: 23.81 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1683, allocations: 47.81 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.1683, allocations: 3.984 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1683, allocations: 0 / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1683, allocations: 4 kB / 360.1 MB, free: 11.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007142/0.1691, allocations: 379.3 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1691, allocations: 8.031 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1693, allocations: 16.83 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1696, allocations: 198.5 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1696, allocations: 384 / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1696, allocations: 4.375 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1699, allocations: 101.3 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.17, allocations: 0 / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.17, allocations: 0 / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.17, allocations: 0 / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.1701, allocations: 19.98 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1705, allocations: 261.7 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1706, allocations: 49.14 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.1707, allocations: 25.77 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1707, allocations: 0 / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.1707, allocations: 34.5 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1708, allocations: 8 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.171, allocations: 57.67 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.1711, allocations: 81.05 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1713, allocations: 142.2 kB / 361.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1713, allocations: 29.64 kB / 361.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1714, allocations: 88.12 kB / 361.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1714, allocations: 4.156 kB / 361.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1715, allocations: 17.72 kB / 361.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1717, allocations: 318.8 kB / 361.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.1717, allocations: 7.984 kB / 362 MB, free: 9.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.1718, allocations: 17.72 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.1718, allocations: 41.64 kB / 362 MB, free: 9.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1719, allocations: 3.938 kB / 362 MB, free: 9.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.172, allocations: 57.58 kB / 362.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.1721, allocations: 8 kB / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1721, allocations: 0 / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1721, allocations: 0 / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1722, allocations: 4 kB / 362.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1722, allocations: 0 / 362.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1723, allocations: 15.98 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1723, allocations: 3.938 kB / 362.1 MB, free: 9.316 MB / 302.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 9.521e-05/0.1724, allocations: 113.8 kB / 362.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.1725, allocations: 41.61 kB / 362.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1725, allocations: 15.81 kB / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1725, allocations: 0 / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1726, allocations: 0 / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1726, allocations: 3.984 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1728, allocations: 173.6 kB / 362.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1728, allocations: 4.031 kB / 362.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.1729, allocations: 4 kB / 362.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1729, allocations: 0 / 362.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1729, allocations: 3.984 kB / 362.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1729, allocations: 4 kB / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1729, allocations: 0 / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1732, allocations: 168.2 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1733, allocations: 93.09 kB / 362.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1734, allocations: 0 / 362.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.1734, allocations: 3.984 kB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1735, allocations: 4 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1735, allocations: 0 / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1736, allocations: 109.8 kB / 362.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1736, allocations: 0 / 362.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1739, allocations: 4 kB / 362.8 MB, free: 8.48 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.0001584/0.174, allocations: 103.3 kB / 362.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1742, allocations: 23.92 kB / 363 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1742, allocations: 0 / 363 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.1743, allocations: 7.938 kB / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1749, allocations: 27.89 kB / 363 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.1754, allocations: 171.6 kB / 363.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1759, allocations: 0.6885 MB / 363.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1759, allocations: 0 / 363.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.176, allocations: 11.44 kB / 363.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.176, allocations: 8 kB / 363.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of Templates: time 0.003693/0.1797, allocations: 473.5 kB / 364.3 MB, free: 6.926 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches