Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001823, allocations: 108.2 kB / 17.17 MB, free: 6.32 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.002215/0.002215, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.465/2.465, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 46.03 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1566, allocations: 49.45 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003918/0.1606, allocations: 1.546 MB / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.1611, allocations: 151.5 kB / 351.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.1612, allocations: 0 / 351.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.1613, allocations: 3.938 kB / 351.8 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1615, allocations: 7.984 kB / 351.8 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1619, allocations: 31.92 kB / 351.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.162, allocations: 27.86 kB / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1622, allocations: 15.98 kB / 351.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.1622, allocations: 7.984 kB / 351.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.1623, allocations: 15.88 kB / 351.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1623, allocations: 4 kB / 351.9 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.1624, allocations: 0 / 351.9 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.1625, allocations: 7.984 kB / 351.9 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.1625, allocations: 19.81 kB / 351.9 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1626, allocations: 27.95 kB / 351.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1626, allocations: 3.938 kB / 351.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1626, allocations: 0 / 351.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1627, allocations: 0 / 351.9 MB, free: 2.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006751/0.1633, allocations: 359.5 kB / 352.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.1634, allocations: 12.03 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1635, allocations: 8.844 kB / 352.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1638, allocations: 192.1 kB / 352.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1638, allocations: 384 / 352.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1638, allocations: 8.312 kB / 352.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1642, allocations: 89.61 kB / 352.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1643, allocations: 4.188 kB / 352.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.1643, allocations: 3.938 kB / 352.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1643, allocations: 0 / 352.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1644, allocations: 19.98 kB / 352.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.1649, allocations: 245.8 kB / 352.8 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1651, allocations: 57.08 kB / 352.9 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.1652, allocations: 13.78 kB / 352.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1652, allocations: 0 / 352.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1653, allocations: 38.5 kB / 353 MB, free: 1.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1653, allocations: 0 / 353 MB, free: 1.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003882/0.1657, allocations: 65.58 kB / 353 MB, free: 1.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1658, allocations: 85.05 kB / 353.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.166, allocations: 137.3 kB / 353.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.166, allocations: 29.69 kB / 353.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1661, allocations: 80.14 kB / 353.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1661, allocations: 3.906 kB / 353.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1662, allocations: 17.97 kB / 353.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1664, allocations: 318.8 kB / 353.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1665, allocations: 11.98 kB / 353.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.1665, allocations: 13.72 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1667, allocations: 29.64 kB / 353.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1667, allocations: 8.062 kB / 353.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.1669, allocations: 45.62 kB / 353.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.1669, allocations: 11.98 kB / 353.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1669, allocations: 0 / 353.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.167, allocations: 0 / 353.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1671, allocations: 4 kB / 353.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1671, allocations: 0 / 353.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1672, allocations: 11.94 kB / 353.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1672, allocations: 0 / 353.8 MB, free: 0.832 MB / 286.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: 2 (step.y,sample1.y) * 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.000148/0.1673, allocations: 121.8 kB / 353.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.1674, allocations: 41.61 kB / 354 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1675, allocations: 15.75 kB / 354 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.1675, allocations: 7.969 kB / 354 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1675, allocations: 0 / 354 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1676, allocations: 0 / 354 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.1678, allocations: 165.6 kB / 354.2 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1678, allocations: 8 kB / 354.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1679, allocations: 12.02 kB / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1679, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.168, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.168, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.168, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1682, allocations: 164.2 kB / 354.3 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1684, allocations: 93.03 kB / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1684, allocations: 0 / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1685, allocations: 7.984 kB / 354.4 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1686, allocations: 0 / 354.4 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1686, allocations: 0 / 354.4 MB, free: 104 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1687, allocations: 107.2 kB / 354.5 MB, free: 16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1687, allocations: 0 / 354.5 MB, free: 16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.1692, allocations: 4 kB / 354.5 MB, free: 15.99 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: 2 (step.y,sample1.y) * 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.0001711/0.1693, allocations: 103.2 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1696, allocations: 23.92 kB / 354.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1696, allocations: 0 / 354.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.1696, allocations: 7.984 kB / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.1703, allocations: 19.95 kB / 354.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.171, allocations: 194 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.1715, allocations: 0.6887 MB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1716, allocations: 7.438 kB / 355.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1716, allocations: 0 / 355.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Templates: time 0.003247/0.1748, allocations: 0.617 MB / 356.2 MB, free: 14.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches