Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002039/0.002039, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00239/0.00239, allocations: 206.4 kB / 18.58 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.64 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1609, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003569/0.1645, allocations: 1.493 MB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.1651, allocations: 143.5 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1653, allocations: 0 / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.1653, allocations: 3.938 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1655, allocations: 3.938 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1658, allocations: 47.83 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1659, allocations: 20 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1661, allocations: 15.98 kB / 359.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.1661, allocations: 19.86 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.1662, allocations: 15.86 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1662, allocations: 4 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.1662, allocations: 4 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.1663, allocations: 8 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1663, allocations: 23.8 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1665, allocations: 39.83 kB / 359.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1665, allocations: 0 / 359.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1665, allocations: 0 / 359.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1665, allocations: 0 / 359.4 MB, free: 12.22 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.0005198/0.167, allocations: 363.5 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1671, allocations: 8.031 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1671, allocations: 12.84 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1673, allocations: 186.9 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1674, allocations: 4.375 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1674, allocations: 4.375 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1676, allocations: 85.61 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1677, allocations: 192 / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1677, allocations: 7.938 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1677, allocations: 4 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.1678, allocations: 19.92 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1682, allocations: 249.8 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.1683, allocations: 57.02 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1683, allocations: 17.78 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1684, allocations: 7.938 kB / 360.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1684, allocations: 30.56 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1684, allocations: 0 / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.1686, allocations: 69.61 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.1687, allocations: 77.11 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1689, allocations: 134.1 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1689, allocations: 25.7 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.169, allocations: 88.12 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.1691, allocations: 7.906 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1691, allocations: 13.72 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1693, allocations: 319 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.1694, allocations: 11.92 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.1694, allocations: 13.72 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.1695, allocations: 29.7 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1695, allocations: 64 / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.1696, allocations: 61.56 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1696, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1697, allocations: 0 / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1697, allocations: 3.984 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.1697, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1698, allocations: 4 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.1698, allocations: 3.984 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1698, allocations: 0 / 361.3 MB, free: 10.06 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: 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.000118/0.1699, allocations: 129.8 kB / 361.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.17, allocations: 37.55 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.17, allocations: 15.83 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1701, allocations: 0 / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1701, allocations: 0 / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1701, allocations: 0 / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1703, allocations: 169.6 kB / 361.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1703, allocations: 4 kB / 361.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.1703, allocations: 4 kB / 361.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1704, allocations: 8.016 kB / 361.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1704, allocations: 0 / 361.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1704, allocations: 7.938 kB / 361.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1704, allocations: 0 / 361.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1706, allocations: 160.2 kB / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1707, allocations: 89 kB / 361.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1707, allocations: 8.031 kB / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.1707, allocations: 4 kB / 361.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1708, allocations: 7.922 kB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1708, allocations: 0 / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.1709, allocations: 109.7 kB / 362 MB, free: 9.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1709, allocations: 0 / 362 MB, free: 9.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1711, allocations: 4 kB / 362 MB, free: 9.211 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.0001361/0.1712, allocations: 95.25 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1714, allocations: 23.98 kB / 362.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1714, allocations: 3.938 kB / 362.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1714, allocations: 7.984 kB / 362.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1719, allocations: 22.78 kB / 362.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.1722, allocations: 146.6 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1726, allocations: 0.6846 MB / 363 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.865e-05/0.1726, allocations: 0 / 363 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1727, allocations: 11.44 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1727, allocations: 0 / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002931/0.1756, allocations: 447.7 kB / 363.4 MB, free: 7.727 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches