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.0009642/0.0009642, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001058/0.001058, allocations: 174.3 kB / 24.92 MB, free: 8.766 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.9928/0.9928, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.743e-06/1.743e-06, allocations: 0 / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.471e-05, allocations: 6.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001828/0.001843, allocations: 1.541 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.002059, allocations: 103.5 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.002109, allocations: 0 / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.002134, allocations: 3.938 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.002167, allocations: 0 / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002351, allocations: 27.89 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.002419, allocations: 27.88 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.002485, allocations: 15.97 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.002524, allocations: 15.98 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.002547, allocations: 8 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.002562, allocations: 0 / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.002568, allocations: 7.938 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.002581, allocations: 0 / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.002599, allocations: 11.98 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.917e-05/0.002658, allocations: 23.84 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00266, allocations: 0 / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.002661, allocations: 0 / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.002664, allocations: 0 / 275.3 MB, free: 15.33 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.0002151/0.002879, allocations: 244.9 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.002909, allocations: 8.031 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.002932, allocations: 4.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.003038, allocations: 117.7 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.003053, allocations: 8.312 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.003059, allocations: 4.375 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.003191, allocations: 100.5 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.003196, allocations: 4.188 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-06/0.003201, allocations: 384 / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.003204, allocations: 384 / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.00322, allocations: 7.938 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.217e-05/0.003272, allocations: 61.03 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.003318, allocations: 22.58 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.003336, allocations: 20.84 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.003346, allocations: 0 / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.003361, allocations: 34.5 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.003362, allocations: 0 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.4e-05/0.003436, allocations: 45.69 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.003465, allocations: 55.41 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.00351, allocations: 110.7 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.003517, allocations: 25.7 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.003534, allocations: 84.14 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.003536, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.00355, allocations: 9.719 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.003616, allocations: 322.8 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.003619, allocations: 3.938 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.003622, allocations: 0 / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.663e-05/0.003639, allocations: 83.2 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.003653, allocations: 79.28 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.193e-05/0.003685, allocations: 29.7 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.003708, allocations: 79.28 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.003728, allocations: 83.22 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.003764, allocations: 150.6 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.557e-05/0.00378, allocations: 75.28 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.003881, allocations: 162.8 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.003918, allocations: 79.27 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.003934, allocations: 83.22 kB / 277.4 MB, free: 13.01 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 5.417e-05/0.003988, allocations: 189.1 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.00402, allocations: 41.88 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.004037, allocations: 11.72 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.004039, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.00404, allocations: 4 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004043, allocations: 0 / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.238e-05/0.004085, allocations: 65.83 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.004087, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.004115, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004116, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.00412, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.004122, allocations: 4 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004123, allocations: 4 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.071e-05/0.004153, allocations: 57.02 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.004162, allocations: 15.86 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-06/0.004168, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.004182, allocations: 8 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.004185, allocations: 0 / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.004188, allocations: 0 / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.367e-06/0.004197, allocations: 8.859 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004197, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001033/0.004301, allocations: 4 kB / 277.8 MB, free: 12.55 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 5.696e-05/0.004358, allocations: 84.41 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.98e-05/0.004387, allocations: 8 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004389, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.004389, allocations: 3.938 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.535e-05/0.004475, allocations: 21 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.004628, allocations: 107.1 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.004653, allocations: 59.34 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.47e-06/0.004659, allocations: 4 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.004683, allocations: 47.38 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004684, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.001327/0.006011, allocations: 316.8 kB / 278.5 MB, free: 11.86 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 -s gbode -gbm=radauIIA3 -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.4861538587138057]