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.001308/0.001308, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.599/1.599, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001128/0.001128, allocations: 92.95 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009271/0.0009272, allocations: 35.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3604, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002828/0.3633, allocations: 1.475 MB / 400.9 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.3637, allocations: 103.7 kB / 401 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.3638, allocations: 0 / 401 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.3638, allocations: 0 / 401 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.3639, allocations: 3.938 kB / 401.1 MB, free: 31.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3642, allocations: 27.92 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.3643, allocations: 19.94 kB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3644, allocations: 19.47 kB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.3645, allocations: 7.938 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.3645, allocations: 11.92 kB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.3645, allocations: 4 kB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3646, allocations: 0 / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.3646, allocations: 4 kB / 401.1 MB, free: 31.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.3646, allocations: 11.88 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.478e-05/0.3647, allocations: 27.89 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3647, allocations: 0 / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3647, allocations: 1.562 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3648, allocations: 0 / 401.2 MB, free: 31.65 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.0004239/0.3652, allocations: 342.6 kB / 401.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3652, allocations: 12.03 kB / 401.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.3653, allocations: 4.938 kB / 401.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3654, allocations: 176.2 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3655, allocations: 4.375 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3655, allocations: 4.375 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3658, allocations: 99.81 kB / 401.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3658, allocations: 4.188 kB / 401.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3658, allocations: 3.938 kB / 401.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3658, allocations: 0 / 401.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.3659, allocations: 15.98 kB / 401.8 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.366, allocations: 153.7 kB / 402 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3661, allocations: 50.53 kB / 402 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.3662, allocations: 24.89 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3662, allocations: 0 / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3662, allocations: 38.53 kB / 402.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3662, allocations: 0 / 402.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000192/0.3664, allocations: 69.53 kB / 402.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3665, allocations: 55.41 kB / 402.2 MB, free: 30.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.3666, allocations: 105.8 kB / 402.3 MB, free: 30.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.3666, allocations: 29.7 kB / 402.4 MB, free: 30.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.3666, allocations: 80.14 kB / 402.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.3666, allocations: 0 / 402.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.3667, allocations: 17.72 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.3667, allocations: 322.8 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.3667, allocations: 4 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.3668, allocations: 27.38 kB / 402.8 MB, free: 29.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.3668, allocations: 43.36 kB / 402.8 MB, free: 29.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3668, allocations: 3.938 kB / 402.8 MB, free: 29.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.256e-05/0.3669, allocations: 49.64 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3669, allocations: 4.125 kB / 402.9 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3669, allocations: 7.938 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3669, allocations: 7.984 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.367, allocations: 0 / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.367, allocations: 4 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.367, allocations: 4 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.367, allocations: 3.984 kB / 402.9 MB, free: 29.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.3671, allocations: 117.7 kB / 403 MB, free: 29.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.3672, allocations: 57.84 kB / 403.1 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.3672, allocations: 11.44 kB / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3672, allocations: 0 / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3672, allocations: 8 kB / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3673, allocations: 3.984 kB / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.233e-05/0.3673, allocations: 149.7 kB / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3673, allocations: 4 kB / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.3673, allocations: 0 / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3674, allocations: 0 / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3674, allocations: 3.938 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3674, allocations: 4 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3674, allocations: 0 / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3677, allocations: 0.6396 MB / 403.9 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.3677, allocations: 84.95 kB / 404 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3677, allocations: 0 / 404 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.3678, allocations: 384 / 404 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-06/0.3678, allocations: 4 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3678, allocations: 0 / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.3678, allocations: 95.2 kB / 404.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3678, allocations: 0 / 404.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.3681, allocations: 4 kB / 404.1 MB, free: 28.34 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 (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.0001029/0.3682, allocations: 95.25 kB / 404.2 MB, free: 28.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.3683, allocations: 23.97 kB / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3684, allocations: 0 / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.3684, allocations: 8.188 kB / 404.2 MB, free: 28.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3686, allocations: 19.94 kB / 404.2 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.3689, allocations: 230.2 kB / 404.5 MB, free: 27.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.369, allocations: 0.6848 MB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.369, allocations: 0 / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3691, allocations: 7.438 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3691, allocations: 0 / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of Templates: time 0.00195/0.371, allocations: 321.2 kB / 405.5 MB, free: 26.88 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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