Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 180 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 241 MB, free: 11.81 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007486/0.0007486, allocations: 107 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002294/0.0002294, allocations: 12 kB / 351.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.184, allocations: 50.4 MB / 402.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001115/0.1852, allocations: 1.136 MB / 403.3 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1854, allocations: 100.4 kB / 403.4 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.1855, allocations: 0.9688 kB / 403.4 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.1855, allocations: 7.922 kB / 403.4 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.1855, allocations: 0 / 403.4 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1857, allocations: 29.31 kB / 403.5 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.1858, allocations: 27.86 kB / 403.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.1859, allocations: 5.438 kB / 403.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.1859, allocations: 7.984 kB / 403.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.83e-05/0.1859, allocations: 11.94 kB / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.186, allocations: 0 / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.186, allocations: 2.312 kB / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.186, allocations: 7.984 kB / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.186, allocations: 29.64 kB / 403.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.553e-05/0.1861, allocations: 15.97 kB / 403.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1861, allocations: 0 / 403.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1861, allocations: 0 / 403.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.1861, allocations: 0 / 403.6 MB, free: 31.18 MB / 298.7 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.000267/0.1864, allocations: 338.1 kB / 403.9 MB, free: 30.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1864, allocations: 11.41 kB / 403.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.1864, allocations: 7.953 kB / 403.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1866, allocations: 174.9 kB / 404.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1866, allocations: 0 / 404.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1866, allocations: 8 kB / 404.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1868, allocations: 107.2 kB / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1868, allocations: 0 / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1868, allocations: 0 / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1869, allocations: 0 / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.1869, allocations: 23.89 kB / 404.2 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.838e-05/0.187, allocations: 161.6 kB / 404.4 MB, free: 30.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1871, allocations: 47.66 kB / 404.4 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.1872, allocations: 25.86 kB / 404.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1872, allocations: 4 kB / 404.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.1872, allocations: 30.56 kB / 404.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1872, allocations: 0 / 404.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001514/0.1874, allocations: 65.62 kB / 404.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.1874, allocations: 51.41 kB / 404.6 MB, free: 29.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.1875, allocations: 113.8 kB / 404.7 MB, free: 29.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1875, allocations: 29.7 kB / 404.7 MB, free: 29.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.1875, allocations: 88.12 kB / 404.8 MB, free: 29.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.1875, allocations: 0 / 404.8 MB, free: 29.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1875, allocations: 0 / 404.8 MB, free: 29.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.1876, allocations: 322.8 kB / 405.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.1876, allocations: 0 / 405.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.1876, allocations: 23.44 kB / 405.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.1876, allocations: 15.94 kB / 405.2 MB, free: 29.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1877, allocations: 4 kB / 405.2 MB, free: 29.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.642e-05/0.1877, allocations: 53.53 kB / 405.2 MB, free: 29.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1877, allocations: 8 kB / 405.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1877, allocations: 0 / 405.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1878, allocations: 288 / 405.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.1878, allocations: 7.984 kB / 405.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1878, allocations: 4.125 kB / 405.3 MB, free: 29.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1878, allocations: 4 kB / 405.3 MB, free: 29.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1878, allocations: 3.953 kB / 405.3 MB, free: 29.25 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.1879, allocations: 117.8 kB / 405.4 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.188, allocations: 57.67 kB / 405.4 MB, free: 29.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.188, allocations: 3.5 kB / 405.4 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.188, allocations: 4 kB / 405.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.188, allocations: 3.938 kB / 405.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.188, allocations: 4 kB / 405.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.692e-05/0.1881, allocations: 161.6 kB / 405.6 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1881, allocations: 0 / 405.6 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.1881, allocations: 0 / 405.6 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1881, allocations: 0 / 405.6 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1881, allocations: 4 kB / 405.6 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1881, allocations: 0 / 405.6 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1881, allocations: 0 / 405.6 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.1882, allocations: 96.91 kB / 405.7 MB, free: 28.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.1882, allocations: 81.05 kB / 405.8 MB, free: 28.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.1883, allocations: 0 / 405.8 MB, free: 28.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.1883, allocations: 7.938 kB / 405.8 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.1883, allocations: 0 / 405.8 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1883, allocations: 0 / 405.8 MB, free: 28.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.945e-05/0.1883, allocations: 83.53 kB / 405.9 MB, free: 28.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1883, allocations: 0 / 405.9 MB, free: 28.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.1885, allocations: 4 kB / 405.9 MB, free: 28.53 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.664e-05/0.1886, allocations: 107.4 kB / 406 MB, free: 28.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.1887, allocations: 19.94 kB / 406 MB, free: 28.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1887, allocations: 0 / 406 MB, free: 28.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-07/0.1887, allocations: 0 / 406 MB, free: 28.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.1889, allocations: 27.97 kB / 406 MB, free: 28.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.1891, allocations: 142.8 kB / 406.2 MB, free: 28.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.456e-05/0.1891, allocations: 0.6809 MB / 406.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.1892, allocations: 11.38 kB / 406.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1892, allocations: 4 kB / 406.9 MB, free: 27.46 MB / 298.7 MB Notification: Performance of Templates: time 0.001312/0.1905, allocations: 0.5311 MB / 407.4 MB, free: 26.94 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches