Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001093, allocations: 94.66 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 7.984 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001922/0.1687, allocations: 1.145 MB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003502/0.1691, allocations: 95.75 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.1692, allocations: 0 / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.1692, allocations: 3.984 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.1693, allocations: 3.938 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1696, allocations: 19.98 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.1697, allocations: 19.92 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1698, allocations: 11.98 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.1699, allocations: 19.91 kB / 360.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.1699, allocations: 7.938 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1699, allocations: 0 / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.17, allocations: 0 / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.17, allocations: 8 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.1701, allocations: 33.58 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.1702, allocations: 27.89 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1702, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1702, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1702, allocations: 0 / 360.6 MB, free: 11.68 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.0006045/0.1708, allocations: 335.7 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1709, allocations: 12.03 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1709, allocations: 0.9375 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1711, allocations: 180.2 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1712, allocations: 8.375 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1712, allocations: 384 / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.1715, allocations: 107.9 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1715, allocations: 4.188 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1715, allocations: 3.938 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1716, allocations: 0 / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.1716, allocations: 19.98 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1718, allocations: 153.7 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.172, allocations: 54.5 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.1721, allocations: 28.86 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1721, allocations: 0 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1721, allocations: 30.56 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1721, allocations: 0 / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002395/0.1724, allocations: 77.52 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1724, allocations: 55.41 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1726, allocations: 101.9 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1726, allocations: 25.7 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.1727, allocations: 84.12 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1727, allocations: 4 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1727, allocations: 17.66 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1729, allocations: 310.8 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.1729, allocations: 8 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.173, allocations: 31.42 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.173, allocations: 31.38 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.173, allocations: 11.94 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.933e-05/0.1731, allocations: 53.62 kB / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1732, allocations: 4 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1732, allocations: 3.938 kB / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1732, allocations: 0 / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.1732, allocations: 4 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1733, allocations: 4 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.1733, allocations: 0 / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1733, allocations: 4.062 kB / 362.4 MB, free: 9.688 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.128e-05/0.1734, allocations: 129.7 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.1735, allocations: 57.86 kB / 362.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.1735, allocations: 15.44 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1735, allocations: 0 / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1736, allocations: 0 / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1736, allocations: 0 / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1737, allocations: 153.7 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1737, allocations: 0 / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.1737, allocations: 7.984 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1737, allocations: 4 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1737, allocations: 3.938 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1737, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1737, allocations: 3.938 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1739, allocations: 77.12 kB / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1739, allocations: 81.27 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.174, allocations: 7.938 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.174, allocations: 11.98 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-06/0.174, allocations: 3.938 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.174, allocations: 0 / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.1741, allocations: 83.28 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1741, allocations: 0 / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1743, allocations: 4 kB / 363 MB, free: 8.945 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.0001082/0.1744, allocations: 95.25 kB / 363.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1745, allocations: 31.92 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1745, allocations: 0 / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1745, allocations: 0 / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1747, allocations: 27.92 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.1752, allocations: 120.6 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1755, allocations: 0.6812 MB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.1755, allocations: 4.234 kB / 364 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.1755, allocations: 11.44 kB / 364 MB, free: 7.914 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1755, allocations: 0 / 364 MB, free: 7.914 MB / 302.1 MB Notification: Performance of Templates: time 0.002386/0.1779, allocations: 292.7 kB / 364.3 MB, free: 7.629 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches