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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009199/0.0009199, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008895/0.0008895, allocations: 162.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8792/0.8792, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.168e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00264/0.002662, allocations: 1.497 MB / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000286/0.002948, allocations: 107.5 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.003015, allocations: 4 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.003046, allocations: 3.938 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.003086, allocations: 0 / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003311, allocations: 23.91 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.003399, allocations: 27.86 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.003484, allocations: 15.98 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.003544, allocations: 15.97 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.003574, allocations: 11.98 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003597, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.003605, allocations: 0 / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003625, allocations: 7.938 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.003645, allocations: 4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.914e-05/0.003724, allocations: 27.84 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.003727, allocations: 0 / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.003728, allocations: 0 / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003732, allocations: 0 / 275.1 MB, free: 15.46 MB / 266.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.0003077/0.00404, allocations: 240.9 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004076, allocations: 11.98 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.004104, allocations: 8.875 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004251, allocations: 117.7 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.004274, allocations: 8.375 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.004287, allocations: 4.359 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.004472, allocations: 88.59 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.00448, allocations: 8.172 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004487, allocations: 384 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.004494, allocations: 4.375 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.004512, allocations: 3.938 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.171e-05/0.004584, allocations: 61.03 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/0.004665, allocations: 38.5 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.004681, allocations: 8.859 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.004694, allocations: 0 / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.004712, allocations: 34.56 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.004712, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.419e-05/0.004807, allocations: 45.69 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.004844, allocations: 63.33 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.254e-05/0.004896, allocations: 106.7 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004905, allocations: 25.7 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.004923, allocations: 80.14 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.004925, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.004943, allocations: 17.7 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.005015, allocations: 318.8 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-06/0.005017, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.005021, allocations: 4 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.005042, allocations: 75.28 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.00506, allocations: 79.53 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.435e-05/0.005094, allocations: 29.7 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.005118, allocations: 83.22 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.005137, allocations: 83.22 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/0.005184, allocations: 158.5 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.005202, allocations: 83.22 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/0.005231, allocations: 150.6 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.005271, allocations: 79.28 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.005289, allocations: 79.22 kB / 277.3 MB, free: 13.13 MB / 266.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 6.214e-05/0.005352, allocations: 185.1 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.005392, allocations: 45.69 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.005414, allocations: 7.922 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005417, allocations: 3.984 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005418, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005421, allocations: 3.984 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.673e-05/0.005468, allocations: 65.84 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.00547, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.005512, allocations: 7.938 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.005518, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005521, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005523, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005524, allocations: 4 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.808e-05/0.005562, allocations: 57.06 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.00558, allocations: 11.89 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.005589, allocations: 4 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.005606, allocations: 0 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.005609, allocations: 0 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.005614, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.521e-05/0.00563, allocations: 12.83 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00563, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001069/0.005737, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.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.0001024/0.005839, allocations: 84.36 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.236e-05/0.005881, allocations: 8 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.005884, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005884, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.006004, allocations: 24.48 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.006209, allocations: 107.6 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.006237, allocations: 55.36 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.006242, allocations: 3.938 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.00627, allocations: 51.38 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00627, allocations: 3.938 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.001558/0.007829, allocations: 319.8 kB / 278.3 MB, free: 11.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.511743095703423]