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.002636/0.002636, allocations: 87.67 kB / 20.96 MB, free: 3.457 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.003047/0.003047, allocations: 157.7 kB / 24.27 MB, free: 152 kB / 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.392e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002902/0.002926, allocations: 1.496 MB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.003124, allocations: 23.92 kB / 273.8 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.003179, allocations: 0 / 273.8 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.00321, allocations: 11.92 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.003262, allocations: 7.875 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.003497, allocations: 31.91 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.003582, allocations: 23.92 kB / 273.9 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.003662, allocations: 4 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.003725, allocations: 19.98 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.00377, allocations: 15.91 kB / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.003788, allocations: 0 / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.003799, allocations: 4 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.003816, allocations: 4 kB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.003844, allocations: 4 kB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003957, allocations: 35.88 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00396, allocations: 0 / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003961, allocations: 4 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003964, allocations: 0 / 274 MB, free: 144 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.0005101/0.004475, allocations: 368.2 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004512, allocations: 8.031 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.004556, allocations: 8.891 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.004986, allocations: 124.5 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.005004, allocations: 384 / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.00502, allocations: 8.375 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.005367, allocations: 117.5 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005377, allocations: 192 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.005385, allocations: 384 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.005389, allocations: 384 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.005495, allocations: 23.92 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.005654, allocations: 120.6 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.00583, allocations: 58.98 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.005923, allocations: 27.75 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.005936, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.005972, allocations: 37.39 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.005972, allocations: 4 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002651/0.006237, allocations: 77.75 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.006299, allocations: 55.39 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.00644, allocations: 173.9 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.006459, allocations: 25.7 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.006541, allocations: 134.9 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.00655, allocations: 0 / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.006588, allocations: 23.36 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.006862, allocations: 496.1 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.006874, allocations: 4 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.006882, allocations: 4 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.006909, allocations: 11.69 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.00691, allocations: 0 / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.673e-05/0.006987, allocations: 53.58 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.007, allocations: 4 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.007003, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007016, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/0.007065, allocations: 4.25 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.00707, allocations: 0 / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.007086, allocations: 7.938 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-06/0.007088, allocations: 4.094 kB / 276 MB, free: 13.98 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 0.000121/0.00721, allocations: 160.6 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.007354, allocations: 57.67 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.007383, allocations: 8 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007385, allocations: 0 / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007388, allocations: 3.938 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.007395, allocations: 11.88 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.007509, allocations: 120.6 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00751, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.007562, allocations: 4 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007564, allocations: 8 kB / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.007571, allocations: 0 / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007572, allocations: 0 / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007573, allocations: 0 / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.007779, allocations: 104.3 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.007792, allocations: 4 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.007809, allocations: 4 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.007836, allocations: 3.984 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.007839, allocations: 0 / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.007849, allocations: 8 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.007941, allocations: 123.2 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007941, allocations: 4 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.008115, allocations: 7.938 kB / 276.6 MB, free: 13.29 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.0001336/0.008248, allocations: 107.2 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.008383, allocations: 23.69 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008385, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.008386, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.00868, allocations: 25.42 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.009015, allocations: 132.7 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.009088, allocations: 67.41 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.217e-05/0.00911, allocations: 0 / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.009146, allocations: 8.5 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009146, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Templates: time 0.003139/0.01229, allocations: 449.9 kB / 277.4 MB, free: 12.43 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.473874851944856]