Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 64.02 kB / 306.9 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 50.52 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.005299/0.1599, allocations: 1.57 MB / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1612, allocations: 0.5259 MB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1614, allocations: 0 / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.1614, allocations: 3.938 kB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1616, allocations: 23.84 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.162, allocations: 51.83 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1622, allocations: 35.86 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1623, allocations: 15.97 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1625, allocations: 27.86 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.1625, allocations: 19.86 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1626, allocations: 4 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.1626, allocations: 4 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1627, allocations: 11.98 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1627, allocations: 27.81 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1629, allocations: 55.8 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1629, allocations: 0 / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1629, allocations: 0 / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1629, allocations: 0 / 359.8 MB, free: 11.74 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.0005196/0.1635, allocations: 375.3 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1635, allocations: 8.031 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.1637, allocations: 20.83 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1639, allocations: 196.1 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1639, allocations: 384 / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.164, allocations: 4.375 kB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.1642, allocations: 97.34 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1642, allocations: 0 / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1643, allocations: 0 / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1643, allocations: 7.984 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.1644, allocations: 15.98 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1647, allocations: 265.6 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.1648, allocations: 45.2 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.1649, allocations: 21.77 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1649, allocations: 0 / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.165, allocations: 42.5 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.165, allocations: 0 / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002616/0.1652, allocations: 61.61 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.1653, allocations: 85.36 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1654, allocations: 136.6 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1655, allocations: 25.7 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.1655, allocations: 96.12 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1656, allocations: 3.906 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1656, allocations: 17.66 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1658, allocations: 314.8 kB / 361.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.1658, allocations: 15.92 kB / 361.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.1659, allocations: 21.72 kB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.166, allocations: 29.58 kB / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.166, allocations: 0 / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001294/0.1661, allocations: 65.64 kB / 361.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1662, allocations: 6.969 kB / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1662, allocations: 0 / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1662, allocations: 0 / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.1663, allocations: 4 kB / 361.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1663, allocations: 7.938 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.1663, allocations: 7.922 kB / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1663, allocations: 0 / 361.8 MB, free: 9.52 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 0.0001127/0.1665, allocations: 125.7 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.1665, allocations: 41.67 kB / 362 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.1666, allocations: 15.81 kB / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1666, allocations: 0 / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1666, allocations: 0 / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1666, allocations: 4 kB / 362 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1668, allocations: 173.6 kB / 362.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1668, allocations: 0 / 362.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.1669, allocations: 4 kB / 362.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1669, allocations: 3.984 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1669, allocations: 4 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1669, allocations: 4.031 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1669, allocations: 3.938 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.1671, allocations: 164.3 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1672, allocations: 85.09 kB / 362.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1672, allocations: 0 / 362.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.1673, allocations: 16.02 kB / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1673, allocations: 0 / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1673, allocations: 0 / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.514e-05/0.1674, allocations: 109.7 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 4 kB / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1677, allocations: 4 kB / 362.5 MB, free: 8.668 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.0001809/0.1679, allocations: 95.25 kB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1681, allocations: 27.92 kB / 362.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1681, allocations: 3.938 kB / 362.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.1681, allocations: 4 kB / 362.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.1686, allocations: 23.89 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.1692, allocations: 175 kB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1695, allocations: 0.6885 MB / 363.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.1696, allocations: 0 / 363.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1696, allocations: 11.44 kB / 363.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1697, allocations: 0 / 363.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of Templates: time 0.003534/0.1732, allocations: 479.7 kB / 364 MB, free: 7.121 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches