Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.0008718, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009535/0.0009535, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.178, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002253/0.1804, allocations: 1.161 MB / 360.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.1807, allocations: 95.75 kB / 360.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.1808, allocations: 0 / 360.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1809, allocations: 3.938 kB / 360.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.1809, allocations: 3.938 kB / 360.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1812, allocations: 19.98 kB / 360.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.1813, allocations: 23.92 kB / 360.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1815, allocations: 12 kB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.1815, allocations: 7.922 kB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.1816, allocations: 15.92 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1816, allocations: 0 / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1816, allocations: 4 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1816, allocations: 3.938 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.1817, allocations: 37.62 kB / 360.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.1818, allocations: 19.91 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1818, allocations: 0 / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1818, allocations: 0 / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1818, allocations: 4 kB / 360.7 MB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004887/0.1823, allocations: 343.7 kB / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.1824, allocations: 12.03 kB / 361 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1825, allocations: 4.844 kB / 361 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1826, allocations: 180.4 kB / 361.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1827, allocations: 384 / 361.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1827, allocations: 384 / 361.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.183, allocations: 115.9 kB / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.183, allocations: 192 / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1831, allocations: 7.938 kB / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1831, allocations: 0 / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.1832, allocations: 23.98 kB / 361.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.1833, allocations: 161.6 kB / 361.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1835, allocations: 66.5 kB / 361.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.1836, allocations: 28.89 kB / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1836, allocations: 0 / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1837, allocations: 38.5 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1837, allocations: 0 / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002537/0.1839, allocations: 81.55 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1841, allocations: 59.39 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.1842, allocations: 101.9 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1842, allocations: 25.7 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1842, allocations: 92.12 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.1843, allocations: 0 / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1843, allocations: 9.719 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1845, allocations: 318.8 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.1845, allocations: 0 / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.1845, allocations: 31.42 kB / 362.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.1846, allocations: 39.31 kB / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1846, allocations: 0 / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.911e-05/0.1847, allocations: 61.62 kB / 362.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1847, allocations: 4 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1847, allocations: 3.938 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1847, allocations: 4 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1848, allocations: 7.938 kB / 362.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1848, allocations: 4 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1849, allocations: 3.906 kB / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.1849, allocations: 0 / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.063e-05/0.185, allocations: 121.8 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.1852, allocations: 65.69 kB / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1852, allocations: 7.844 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1852, allocations: 0 / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1852, allocations: 3.938 kB / 362.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1852, allocations: 0 / 362.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1854, allocations: 157.7 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1854, allocations: 0 / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.1854, allocations: 8 kB / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1854, allocations: 4 kB / 362.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1854, allocations: 11.94 kB / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1855, allocations: 0 / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1855, allocations: 0 / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1856, allocations: 89.02 kB / 362.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1857, allocations: 81.42 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1857, allocations: 11.92 kB / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.1857, allocations: 4.25 kB / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.1857, allocations: 0 / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1858, allocations: 4 kB / 363 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.1858, allocations: 87.28 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1858, allocations: 0 / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.186, allocations: 3.938 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001168/0.1861, allocations: 99.23 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1863, allocations: 35.97 kB / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1863, allocations: 0 / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.1863, allocations: 0 / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1865, allocations: 23.94 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.1869, allocations: 125 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1873, allocations: 0.6809 MB / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1873, allocations: 0 / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1873, allocations: 15.42 kB / 364.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1873, allocations: 3.938 kB / 364.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of Templates: time 0.002586/0.1899, allocations: 296.7 kB / 364.4 MB, free: 7.742 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches