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.001818/0.001818, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001531/0.001531, allocations: 163.6 kB / 24.99 MB, free: 8.746 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 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.656 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 5.2e-06/5.2e-06, allocations: 3.984 kB / 273.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.586e-05, allocations: 2.312 kB / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002816/0.002851, allocations: 1.513 MB / 274.6 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.003065, allocations: 23.91 kB / 274.6 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.003132, allocations: 3.938 kB / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.003163, allocations: 3.938 kB / 274.6 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.00321, allocations: 7.938 kB / 274.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.003487, allocations: 27.91 kB / 274.6 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.003577, allocations: 27.92 kB / 274.7 MB, free: 248 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003685, allocations: 11.98 kB / 274.7 MB, free: 236 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.003741, allocations: 19.92 kB / 274.7 MB, free: 216 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.003781, allocations: 11.98 kB / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.003802, allocations: 0 / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.003812, allocations: 4 kB / 274.7 MB, free: 200 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003829, allocations: 0 / 274.7 MB, free: 200 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.003862, allocations: 15.92 kB / 274.7 MB, free: 184 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.003955, allocations: 15.97 kB / 274.8 MB, free: 168 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.00396, allocations: 12 kB / 274.8 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.003962, allocations: 0 / 274.8 MB, free: 156 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.003967, allocations: 0 / 274.8 MB, free: 156 kB / 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.0003989/0.004366, allocations: 368.5 kB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.004426, allocations: 15.97 kB / 275.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.004476, allocations: 4.891 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.004653, allocations: 120.6 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.004675, allocations: 4.375 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004685, allocations: 384 / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.004923, allocations: 114.2 kB / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.004928, allocations: 192 / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.004938, allocations: 8.375 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.004945, allocations: 384 / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.004975, allocations: 15.86 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.005077, allocations: 120.5 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.005153, allocations: 43.08 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.00519, allocations: 15.69 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.005198, allocations: 4 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.00522, allocations: 37.39 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005221, allocations: 0 / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000163/0.005384, allocations: 53.67 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.005438, allocations: 55.41 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.005522, allocations: 165.9 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.005537, allocations: 29.7 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.005593, allocations: 134.9 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.005608, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.005637, allocations: 23.36 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.005763, allocations: 496.1 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.005774, allocations: 0 / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.005782, allocations: 8.25 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.005806, allocations: 7.688 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.00581, allocations: 4 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.406e-05/0.005864, allocations: 53.52 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.005878, allocations: 8 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.005883, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.005896, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.00595, allocations: 4 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.005956, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.005966, allocations: 8.031 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.005969, allocations: 0 / 276.6 MB, free: 14.05 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 6.022e-05/0.006029, allocations: 156.6 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.006081, allocations: 49.62 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.006109, allocations: 8 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006111, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.006115, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.00612, allocations: 3.938 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.034e-05/0.00618, allocations: 116.6 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006181, allocations: 0 / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.006232, allocations: 11.98 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.006235, allocations: 4 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006243, allocations: 0 / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006244, allocations: 4 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006245, allocations: 0 / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.822e-05/0.006343, allocations: 92.56 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.006353, allocations: 7.969 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.006368, allocations: 0 / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.006383, allocations: 8 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-06/0.006386, allocations: 0 / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.006391, allocations: 3.984 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.006434, allocations: 127.2 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006434, allocations: 4 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.006552, allocations: 4 kB / 277.2 MB, free: 13.39 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 0.0001132/0.006665, allocations: 102.7 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.006765, allocations: 23.67 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006767, allocations: 3.938 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.006768, allocations: 0 / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.00699, allocations: 21.38 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.007258, allocations: 128.9 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.007291, allocations: 55.36 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.841e-05/0.00731, allocations: 3.984 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.007338, allocations: 8.5 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.007339, allocations: 0 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002234/0.009573, allocations: 438 kB / 278 MB, free: 12.55 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: 3.0280039720237255]