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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 107.5 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 193.2 kB / 23.71 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 43.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2716, allocations: 52.19 MB / 423.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002839/0.2744, allocations: 1.437 MB / 424.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.2747, allocations: 99.69 kB / 424.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.2748, allocations: 3.938 kB / 424.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.2748, allocations: 0 / 424.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.2749, allocations: 3.938 kB / 424.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.2751, allocations: 27.91 kB / 424.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.2752, allocations: 27.92 kB / 424.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2753, allocations: 8 kB / 424.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.2754, allocations: 11.94 kB / 424.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.2754, allocations: 11.91 kB / 424.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2754, allocations: 4 kB / 424.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.2754, allocations: 0 / 424.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.2755, allocations: 8 kB / 424.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.2755, allocations: 3.938 kB / 424.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.2756, allocations: 31.7 kB / 424.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2756, allocations: 0 / 424.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2756, allocations: 0 / 424.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2756, allocations: 4 kB / 424.7 MB, free: 12.95 MB / 334.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.0004403/0.2761, allocations: 265 kB / 425 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2761, allocations: 12.03 kB / 425 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.2761, allocations: 0.9375 kB / 425 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.2763, allocations: 122.5 kB / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2764, allocations: 384 / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2764, allocations: 8.312 kB / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.2767, allocations: 111.8 kB / 425.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2767, allocations: 192 / 425.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2767, allocations: 7.875 kB / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2767, allocations: 0 / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.2768, allocations: 12 kB / 425.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.2769, allocations: 105.2 kB / 425.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.277, allocations: 46.5 kB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.2771, allocations: 24.92 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2771, allocations: 0 / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2772, allocations: 38.5 kB / 425.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2772, allocations: 0 / 425.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.2774, allocations: 65.61 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.2774, allocations: 59.41 kB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2775, allocations: 97.86 kB / 425.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2775, allocations: 29.7 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.2776, allocations: 84.12 kB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.2776, allocations: 0 / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.2776, allocations: 17.72 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2778, allocations: 314.8 kB / 426.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.2778, allocations: 8 kB / 426.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.2779, allocations: 31.36 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.2779, allocations: 35.38 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2779, allocations: 0 / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.375e-05/0.278, allocations: 57.83 kB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.278, allocations: 6.312 kB / 426.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.278, allocations: 8 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2781, allocations: 3.938 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.2781, allocations: 8 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2781, allocations: 0 / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2781, allocations: 0 / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2781, allocations: 8 kB / 426.3 MB, free: 11.2 MB / 334.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.149e-05/0.2782, allocations: 117.8 kB / 426.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.2783, allocations: 53.69 kB / 426.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.2783, allocations: 3.688 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2783, allocations: 7.938 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2783, allocations: 0 / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2783, allocations: 336 / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.828e-05/0.2784, allocations: 109.3 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2784, allocations: 0 / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.2785, allocations: 4 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2785, allocations: 3.984 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2785, allocations: 3.938 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2785, allocations: 0 / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2785, allocations: 3.938 kB / 426.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.2786, allocations: 85 kB / 426.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.2786, allocations: 7.984 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2786, allocations: 0 / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.2786, allocations: 4 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-06/0.2786, allocations: 3.938 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2786, allocations: 0 / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.2787, allocations: 83.28 kB / 426.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2787, allocations: 0 / 426.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.2789, allocations: 4 kB / 426.8 MB, free: 10.64 MB / 334.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.0001073/0.279, allocations: 99.23 kB / 426.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2791, allocations: 23.94 kB / 426.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2791, allocations: 0 / 426.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.2791, allocations: 4 kB / 426.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2793, allocations: 19.97 kB / 426.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.2796, allocations: 117.6 kB / 427 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.2797, allocations: 71.14 kB / 427.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.279e-05/0.2797, allocations: 0 / 427.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.2797, allocations: 11.69 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2797, allocations: 4 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Templates: time 0.002659/0.2824, allocations: 335.3 kB / 427.5 MB, free: 9.918 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.557556265965104]