Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002031/0.002032, allocations: 109.9 kB / 17.16 MB, free: 6.082 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.002331/0.002331, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.683/2.683, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 39.66 kB / 300.6 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1617, allocations: 49.44 MB / 350.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.005204/0.167, allocations: 1.596 MB / 351.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1684, allocations: 474.8 kB / 352.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1687, allocations: 7.938 kB / 352.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.184e-05/0.1688, allocations: 0 / 352.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.169, allocations: 3.938 kB / 352.1 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1695, allocations: 43.89 kB / 352.2 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1697, allocations: 47.8 kB / 352.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1699, allocations: 19.94 kB / 352.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.17, allocations: 19.92 kB / 352.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.1701, allocations: 19.86 kB / 352.3 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1701, allocations: 4 kB / 352.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.1702, allocations: 0 / 352.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.1703, allocations: 15.92 kB / 352.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.1703, allocations: 27.8 kB / 352.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1705, allocations: 31.95 kB / 352.4 MB, free: 2.324 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.1705, allocations: 7.984 kB / 352.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1705, allocations: 3.938 kB / 352.4 MB, free: 2.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1705, allocations: 0 / 352.4 MB, free: 2.312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007351/0.1713, allocations: 379.4 kB / 352.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.1713, allocations: 8.031 kB / 352.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1714, allocations: 8.844 kB / 352.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1717, allocations: 196.2 kB / 352.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1718, allocations: 384 / 352.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1718, allocations: 8.375 kB / 353 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.1722, allocations: 113.3 kB / 353.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1722, allocations: 0 / 353.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1723, allocations: 3.938 kB / 353.1 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1723, allocations: 0 / 353.1 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1724, allocations: 23.92 kB / 353.1 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1729, allocations: 265.7 kB / 353.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.173, allocations: 45.14 kB / 353.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.1731, allocations: 25.77 kB / 353.4 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1732, allocations: 4 kB / 353.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1732, allocations: 30.56 kB / 353.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/0.1732, allocations: 0 / 353.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.1736, allocations: 69.61 kB / 353.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1737, allocations: 77.36 kB / 353.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1739, allocations: 138.2 kB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1739, allocations: 25.7 kB / 353.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.174, allocations: 96.03 kB / 353.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.174, allocations: 3.938 kB / 353.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1741, allocations: 17.72 kB / 353.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1743, allocations: 310.8 kB / 354.2 MB, free: 260 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.1743, allocations: 19.92 kB / 354.2 MB, free: 240 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.1744, allocations: 17.72 kB / 354.2 MB, free: 216 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1745, allocations: 33.64 kB / 354.2 MB, free: 176 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1746, allocations: 0 / 354.2 MB, free: 176 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1747, allocations: 61.52 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1748, allocations: 4.125 kB / 354.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1748, allocations: 8 kB / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1748, allocations: 0 / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1749, allocations: 4 kB / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.175, allocations: 0 / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.175, allocations: 7.984 kB / 354.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1751, allocations: 0 / 354.3 MB, free: 84 kB / 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: 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.0001549/0.1752, allocations: 117.8 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1753, allocations: 41.55 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.1754, allocations: 27.77 kB / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1754, allocations: 0 / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1754, allocations: 0 / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1754, allocations: 0 / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.1758, allocations: 169.6 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1758, allocations: 4 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.1758, allocations: 4 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1759, allocations: 0 / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1759, allocations: 3.984 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1759, allocations: 0 / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.1759, allocations: 4 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1762, allocations: 164.1 kB / 354.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.1763, allocations: 93 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1763, allocations: 4 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1765, allocations: 3.984 kB / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.1765, allocations: 0 / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1765, allocations: 8.031 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1767, allocations: 109.8 kB / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1767, allocations: 0 / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000402/0.1771, allocations: 4 kB / 355.1 MB, free: 15.23 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.0001564/0.1773, allocations: 103.2 kB / 355.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1775, allocations: 15.98 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1775, allocations: 128 / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.1776, allocations: 19.94 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.1782, allocations: 27.95 kB / 355.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.1788, allocations: 202.3 kB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1793, allocations: 0.6926 MB / 356.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.1793, allocations: 11.44 kB / 356.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1793, allocations: 0 / 356.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.003337/0.1827, allocations: 0.7112 MB / 356.8 MB, free: 13.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches