Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0008534/0.0008534, 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.0009084/0.0009084, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9282/0.9282, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.173e-05, allocations: 2.312 kB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001709/0.001721, allocations: 1.521 MB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.001869, allocations: 31.84 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.001917, allocations: 3.938 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.001936, allocations: 0 / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.001975, allocations: 7.938 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.002157, allocations: 23.91 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.002221, allocations: 31.92 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.002285, allocations: 11.98 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.002331, allocations: 23.91 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.00237, allocations: 4 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002386, allocations: 0 / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.002393, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002412, allocations: 7.938 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.002432, allocations: 11.98 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.002502, allocations: 15.97 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.002503, allocations: 4 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002503, allocations: 3.938 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.335e-06/0.002506, allocations: 4 kB / 275.2 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.0002371/0.002743, allocations: 248.8 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.002773, allocations: 12.03 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.002796, allocations: 8.938 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.0029, allocations: 117.7 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.002913, allocations: 384 / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.00292, allocations: 4.375 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.00306, allocations: 104.5 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-06/0.003064, allocations: 192 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003071, allocations: 4.375 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.003074, allocations: 384 / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.003093, allocations: 15.86 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.178e-05/0.003145, allocations: 60.98 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.003192, allocations: 30.56 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.003211, allocations: 12.84 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.003217, allocations: 0 / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.003232, allocations: 34.56 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.003233, allocations: 4 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.674e-05/0.00332, allocations: 49.62 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.003352, allocations: 51.41 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.003399, allocations: 110.7 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.003406, allocations: 25.7 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.003424, allocations: 84.14 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.00343, allocations: 0 / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.003448, allocations: 21.64 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.003514, allocations: 322.8 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-06/0.003517, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.003522, allocations: 4 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.295e-05/0.003535, allocations: 8.922 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.003536, allocations: 4 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.871e-05/0.003565, allocations: 37.62 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.003575, allocations: 8 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003578, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.003585, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.749e-05/0.003613, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.003615, allocations: 4 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-06/0.003622, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-06/0.003624, allocations: 4.031 kB / 276.5 MB, free: 13.93 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.397e-05/0.003668, allocations: 109.8 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.003696, allocations: 49.62 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.00371, allocations: 4 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.003711, allocations: 256 / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.003713, allocations: 0 / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.003717, allocations: 7.984 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.962e-05/0.003757, allocations: 73.78 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003758, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.003783, allocations: 11.98 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003784, allocations: 0 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.003789, allocations: 8 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00379, allocations: 4 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.2e-07/0.00379, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.878e-05/0.003819, allocations: 53.08 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.003823, allocations: 0 / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.003834, allocations: 7.984 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.003843, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-06/0.003845, allocations: 3.938 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.003847, allocations: 3.938 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.367e-06/0.003856, allocations: 12.86 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003856, allocations: 0 / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.76e-05/0.003944, allocations: 8 kB / 276.9 MB, free: 13.52 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.274e-05/0.003996, allocations: 80.41 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.904e-05/0.004035, allocations: 12.86 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.004037, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.004038, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.27e-05/0.004131, allocations: 21.61 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.00429, allocations: 119.2 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.004321, allocations: 55.42 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.213e-05/0.004334, allocations: 7.984 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.004367, allocations: 55.38 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.004368, allocations: 0 / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Templates: time 0.001549/0.005917, allocations: 482 kB / 277.7 MB, free: 12.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.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.632984367199242]