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.001016/0.001016, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0009577/0.0009577, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.021/1.021, allocations: 173.4 MB / 201.1 MB, free: 9.359 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 1.283e-06/1.283e-06, allocations: 0 / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.963e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002095/0.002114, allocations: 1.477 MB / 269.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.002359, allocations: 99.61 kB / 269.6 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.002416, allocations: 3.938 kB / 269.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002442, allocations: 3.984 kB / 269.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.002476, allocations: 7.875 kB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.002705, allocations: 23.97 kB / 269.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.214e-05/0.002777, allocations: 19.94 kB / 269.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.002863, allocations: 15.92 kB / 269.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.002905, allocations: 15.98 kB / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.514e-05/0.00293, allocations: 7.938 kB / 269.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.00295, allocations: 0 / 269.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.002958, allocations: 4 kB / 269.7 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.002977, allocations: 7.984 kB / 269.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.003002, allocations: 7.984 kB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.136e-05/0.003083, allocations: 19.86 kB / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003086, allocations: 4 kB / 269.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.003087, allocations: 4 kB / 269.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.003092, allocations: 0 / 269.7 MB, free: 4.738 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.000351/0.003443, allocations: 364.6 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.003484, allocations: 8.031 kB / 270.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.003518, allocations: 4.938 kB / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.003682, allocations: 124.6 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.003703, allocations: 384 / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.003717, allocations: 4.375 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.003944, allocations: 106.2 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.003956, allocations: 8.172 kB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.003968, allocations: 384 / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.00398, allocations: 4.359 kB / 270.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.004007, allocations: 7.938 kB / 270.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.004109, allocations: 116.6 kB / 270.4 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.004192, allocations: 39.06 kB / 270.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.004226, allocations: 23.75 kB / 270.5 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.004245, allocations: 0 / 270.5 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.00427, allocations: 41.33 kB / 270.5 MB, free: 3.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.004271, allocations: 0 / 270.5 MB, free: 3.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.004422, allocations: 53.69 kB / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.004471, allocations: 55.41 kB / 270.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.004567, allocations: 173.8 kB / 270.8 MB, free: 3.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.004578, allocations: 25.7 kB / 270.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.004624, allocations: 134.9 kB / 271 MB, free: 3.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.004627, allocations: 0 / 271 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.004649, allocations: 15.38 kB / 271 MB, free: 3.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.004781, allocations: 496.1 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.004787, allocations: 0 / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.004793, allocations: 3.938 kB / 271.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.004834, allocations: 119.2 kB / 271.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-05/0.00487, allocations: 127.2 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.915e-05/0.004909, allocations: 29.7 kB / 271.7 MB, free: 2.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.004952, allocations: 123.2 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.004984, allocations: 123.2 kB / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.706e-05/0.005061, allocations: 246.3 kB / 272.2 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.225e-05/0.005094, allocations: 119.2 kB / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.122e-05/0.005165, allocations: 242.3 kB / 272.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.005224, allocations: 127.4 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.005262, allocations: 127.2 kB / 272.8 MB, free: 1.391 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 0.0001127/0.005374, allocations: 279.7 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.005431, allocations: 41.7 kB / 273.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.005481, allocations: 15.67 kB / 273.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.005483, allocations: 0 / 273.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.00549, allocations: 0 / 273.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.005495, allocations: 3.938 kB / 273.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.747e-05/0.005552, allocations: 112.6 kB / 273.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.005556, allocations: 3.984 kB / 273.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.0056, allocations: 0 / 273.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.005603, allocations: 4 kB / 273.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005609, allocations: 0 / 273.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.005611, allocations: 0 / 273.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005612, allocations: 4 kB / 273.3 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.089e-05/0.005683, allocations: 92.5 kB / 273.4 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.005694, allocations: 7.969 kB / 273.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.005702, allocations: 0 / 273.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.005725, allocations: 4 kB / 273.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.005728, allocations: 0 / 273.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.005733, allocations: 3.938 kB / 273.4 MB, free: 0.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.005773, allocations: 131.2 kB / 273.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005773, allocations: 0 / 273.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.005911, allocations: 4 kB / 273.5 MB, free: 0.6172 MB / 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 7.828e-05/0.005989, allocations: 103.2 kB / 273.6 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.437e-05/0.006043, allocations: 4 kB / 273.6 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006045, allocations: 0 / 273.6 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.006045, allocations: 0 / 273.6 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.00622, allocations: 21.05 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.006466, allocations: 113.2 kB / 273.8 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.24e-05/0.006498, allocations: 59.34 kB / 273.8 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.006506, allocations: 4 kB / 273.8 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.006532, allocations: 8.5 kB / 273.8 MB, free: 256 kB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.006532, allocations: 4 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of Templates: time 0.001922/0.008454, allocations: 301.5 kB / 274.1 MB, free: 15.96 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.76840096199885]