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.0009973/0.0009973, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009965/0.0009965, allocations: 153.1 kB / 24.81 MB, free: 8.949 MB / 18.57 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/1, allocations: 173.3 MB / 201.4 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.615e-05, allocations: 6.25 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002235/0.002261, allocations: 1.471 MB / 269.9 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000252/0.002513, allocations: 99.56 kB / 270 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.002575, allocations: 0 / 270 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.002601, allocations: 3.938 kB / 270 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.002638, allocations: 0 / 270 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.002853, allocations: 27.91 kB / 270 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.002924, allocations: 31.86 kB / 270 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.003007, allocations: 7.984 kB / 270 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.003054, allocations: 15.98 kB / 270.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.003079, allocations: 7.984 kB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.003097, allocations: 4 kB / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.003104, allocations: 0 / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.00312, allocations: 7.938 kB / 270.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.003138, allocations: 8 kB / 270.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.932e-05/0.003218, allocations: 23.84 kB / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.003221, allocations: 0 / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003222, allocations: 4 kB / 270.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003226, allocations: 0 / 270.1 MB, free: 4.484 MB / 250.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.0003282/0.003554, allocations: 364.6 kB / 270.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.003591, allocations: 12.03 kB / 270.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003616, allocations: 0.9375 kB / 270.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.003744, allocations: 132.5 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.003758, allocations: 4.375 kB / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003765, allocations: 384 / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.003922, allocations: 102.2 kB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.003928, allocations: 192 / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.003934, allocations: 384 / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.003938, allocations: 384 / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.003956, allocations: 11.92 kB / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.931e-05/0.004035, allocations: 101.2 kB / 270.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.00411, allocations: 46.98 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.004132, allocations: 11.72 kB / 270.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.004151, allocations: 0 / 270.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.00417, allocations: 41.39 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.004171, allocations: 0 / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001104/0.004281, allocations: 45.73 kB / 271 MB, free: 3.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.004317, allocations: 59.34 kB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.004387, allocations: 169.9 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.004399, allocations: 25.7 kB / 271.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.004441, allocations: 130.9 kB / 271.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.004443, allocations: 0 / 271.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.004466, allocations: 19.36 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.004593, allocations: 0.4922 MB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.004597, allocations: 0 / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.004601, allocations: 4.25 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.004635, allocations: 119.2 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.004669, allocations: 127.1 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.291e-05/0.004712, allocations: 29.7 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.00475, allocations: 123.2 kB / 272.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.004782, allocations: 127.1 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.194e-05/0.004864, allocations: 238.4 kB / 272.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-05/0.004894, allocations: 131.1 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.618e-05/0.00495, allocations: 238.4 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.005003, allocations: 123.2 kB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.00503, allocations: 127.1 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.983e-05/0.00513, allocations: 275.8 kB / 273.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.005183, allocations: 45.69 kB / 273.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.005219, allocations: 3.688 kB / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.005224, allocations: 4 kB / 273.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.005226, allocations: 0 / 273.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005229, allocations: 240 / 273.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.501e-05/0.005304, allocations: 105.2 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.005308, allocations: 0 / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.005357, allocations: 7.922 kB / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005358, allocations: 0 / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.005363, allocations: 4 kB / 273.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.005365, allocations: 4 kB / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005366, allocations: 0 / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.901e-05/0.005415, allocations: 68.34 kB / 273.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.005424, allocations: 7.922 kB / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.005432, allocations: 0 / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.005455, allocations: 4 kB / 273.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.005458, allocations: 0 / 273.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.005463, allocations: 0 / 273.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.005509, allocations: 127.2 kB / 273.9 MB, free: 464 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005509, allocations: 0 / 273.9 MB, free: 464 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001307/0.005639, allocations: 12 kB / 273.9 MB, free: 452 kB / 250.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 9.869e-05/0.005738, allocations: 103.4 kB / 274 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.282e-05/0.005781, allocations: 4 kB / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.005783, allocations: 0 / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.005783, allocations: 0 / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.005934, allocations: 17.06 kB / 274 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.006162, allocations: 113.1 kB / 274.1 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.006194, allocations: 59.34 kB / 274.2 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.023e-06/0.006201, allocations: 4 kB / 274.2 MB, free: 88 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.006236, allocations: 74.14 kB / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.006237, allocations: 0 / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of Templates: time 0.001882/0.00812, allocations: 319.2 kB / 274.5 MB, free: 15.7 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5742367850616574]