Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 166.7 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.102e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001985/0.002006, allocations: 1.504 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.002223, allocations: 99.61 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.002278, allocations: 0 / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.0023, allocations: 3.938 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.344e-05/0.002333, allocations: 0 / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002509, allocations: 31.84 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.002573, allocations: 27.92 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.002635, allocations: 7.938 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.002676, allocations: 19.98 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.303e-05/0.002699, allocations: 11.92 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.002715, allocations: 4 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002723, allocations: 4 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.002739, allocations: 3.984 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002756, allocations: 8 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.074e-05/0.002817, allocations: 15.92 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002818, allocations: 0 / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.002819, allocations: 0 / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.002822, allocations: 0 / 275.2 MB, free: 15.53 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.0002304/0.003052, allocations: 244.9 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.003082, allocations: 12.03 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.003103, allocations: 4.938 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.003216, allocations: 121.7 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.00323, allocations: 4.375 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003239, allocations: 8.375 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.00338, allocations: 96.55 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.003385, allocations: 8.188 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-06/0.00339, allocations: 384 / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.003393, allocations: 384 / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.003409, allocations: 7.938 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.221e-05/0.003461, allocations: 53.05 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.003519, allocations: 34.5 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.003537, allocations: 16.84 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.003549, allocations: 4 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.003564, allocations: 30.56 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.003565, allocations: 0 / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.706e-05/0.003642, allocations: 45.69 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.003675, allocations: 59.39 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/0.003722, allocations: 102.7 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.003729, allocations: 29.64 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.003748, allocations: 88.12 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.00375, allocations: 3.984 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.003766, allocations: 9.719 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.003833, allocations: 322.7 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-06/0.003835, allocations: 0 / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.003838, allocations: 0 / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.668e-05/0.003855, allocations: 75.28 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.00387, allocations: 79.28 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.995e-05/0.0039, allocations: 29.7 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.003922, allocations: 79.28 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.003942, allocations: 87.2 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.003975, allocations: 150.6 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.003991, allocations: 75.28 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.004017, allocations: 154.5 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.004055, allocations: 83.28 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.004071, allocations: 79.41 kB / 277.3 MB, free: 13.21 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.232e-05/0.004134, allocations: 193 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.004165, allocations: 45.67 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.004185, allocations: 7.688 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004186, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.004188, allocations: 3.984 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00419, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.972e-05/0.00423, allocations: 69.78 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.004233, allocations: 0 / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.004262, allocations: 4 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.004266, allocations: 0 / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-06/0.004268, allocations: 256 / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.004271, allocations: 7.938 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.004271, allocations: 4 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.95e-05/0.004301, allocations: 57.06 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.004308, allocations: 7.953 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.004315, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.004327, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-06/0.004329, allocations: 4 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.004333, allocations: 4 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.003e-05/0.004343, allocations: 12.84 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004343, allocations: 0 / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001058/0.004449, allocations: 0 / 277.7 MB, free: 12.74 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 6.958e-05/0.004519, allocations: 80.42 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.432e-05/0.004553, allocations: 19.88 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.004555, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.004555, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.984e-05/0.004645, allocations: 21.08 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.0048, allocations: 107.5 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.311e-05/0.004824, allocations: 55.36 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.829e-06/0.004828, allocations: 0 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.004855, allocations: 55.36 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of SimCode: time 2.91e-07/0.004855, allocations: 4 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of Templates: time 0.001638/0.006493, allocations: 318.6 kB / 278.4 MB, free: 12.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7500295559875667]