Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.002303/0.002303, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.44/2.44, allocations: 222.9 MB / 241.8 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 41.7 kB / 300.6 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1746, allocations: 49.46 MB / 350.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.005018/0.1797, allocations: 1.518 MB / 351.6 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.1802, allocations: 99.69 kB / 351.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1804, allocations: 3.938 kB / 351.7 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.1805, allocations: 0 / 351.7 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.1806, allocations: 0 / 351.7 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.181, allocations: 23.91 kB / 351.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1811, allocations: 23.94 kB / 351.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1813, allocations: 15.92 kB / 351.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.1813, allocations: 8 kB / 351.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1814, allocations: 15.91 kB / 351.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1814, allocations: 4 kB / 351.8 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.1814, allocations: 0 / 351.8 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.1815, allocations: 7.938 kB / 351.8 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1815, allocations: 7.938 kB / 351.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.1816, allocations: 19.97 kB / 351.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1817, allocations: 0 / 351.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1817, allocations: 0 / 351.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1817, allocations: 0 / 351.8 MB, free: 3.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006354/0.1823, allocations: 343.7 kB / 352.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.1824, allocations: 15.95 kB / 352.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.1825, allocations: 8.844 kB / 352.2 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1827, allocations: 172.4 kB / 352.3 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1828, allocations: 4.375 kB / 352.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1828, allocations: 4.375 kB / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1833, allocations: 119.7 kB / 352.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1833, allocations: 192 / 352.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1833, allocations: 3.938 kB / 352.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1834, allocations: 0 / 352.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1835, allocations: 19.98 kB / 352.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1837, allocations: 157.7 kB / 352.6 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.184, allocations: 54.5 kB / 352.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.1841, allocations: 28.91 kB / 352.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1841, allocations: 0 / 352.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.1842, allocations: 38.5 kB / 352.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1842, allocations: 0 / 352.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003268/0.1845, allocations: 73.59 kB / 352.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.1846, allocations: 55.41 kB / 352.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1848, allocations: 101.9 kB / 353 MB, free: 1.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1848, allocations: 25.7 kB / 353 MB, free: 1.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1849, allocations: 92.12 kB / 353.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.1849, allocations: 0 / 353.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.185, allocations: 17.72 kB / 353.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1851, allocations: 310.8 kB / 353.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.1852, allocations: 4 kB / 353.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.1852, allocations: 35.36 kB / 353.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.1853, allocations: 35.38 kB / 353.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1853, allocations: 0 / 353.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.1855, allocations: 57.62 kB / 353.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1855, allocations: 6.969 kB / 353.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1855, allocations: 7.938 kB / 353.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1855, allocations: 0 / 353.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.1856, allocations: 8 kB / 353.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.1856, allocations: 0 / 353.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.1857, allocations: 3.906 kB / 353.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1857, allocations: 4 kB / 353.6 MB, free: 0.9805 MB / 286.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: 0 () * 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 0.0001221/0.1858, allocations: 125.8 kB / 353.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.186, allocations: 53.69 kB / 353.8 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.1861, allocations: 11.84 kB / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1861, allocations: 0 / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1861, allocations: 0 / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1861, allocations: 4 kB / 353.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.1862, allocations: 157.6 kB / 353.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1863, allocations: 4 kB / 353.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.1863, allocations: 4 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1864, allocations: 4 kB / 353.9 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1864, allocations: 8.188 kB / 353.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1864, allocations: 7.938 kB / 354 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1864, allocations: 0 / 354 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1866, allocations: 88.95 kB / 354 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1867, allocations: 77.11 kB / 354.1 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1867, allocations: 7.922 kB / 354.1 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.1868, allocations: 8 kB / 354.1 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.1868, allocations: 0 / 354.1 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.1868, allocations: 0 / 354.1 MB, free: 328 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.1869, allocations: 83.28 kB / 354.2 MB, free: 244 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1869, allocations: 0 / 354.2 MB, free: 244 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.1872, allocations: 4 kB / 354.2 MB, free: 240 kB / 286.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: 0 () * 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.0001746/0.1874, allocations: 103.5 kB / 354.3 MB, free: 128 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1876, allocations: 32.05 kB / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1876, allocations: 0 / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1876, allocations: 0 / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.188, allocations: 23.14 kB / 354.4 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.1884, allocations: 153.3 kB / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1889, allocations: 0.677 MB / 355.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1889, allocations: 19.5 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.628e-06/0.1889, allocations: 0 / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002642/0.1916, allocations: 0.5431 MB / 355.8 MB, free: 14.62 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches