Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 145.3 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.57e-05, allocations: 5.234 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002205/0.00223, allocations: 1.446 MB / 320.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001808/0.002411, allocations: 33 kB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.002481, allocations: 1.5 kB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.002513, allocations: 5.25 kB / 320.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.002552, allocations: 7.875 kB / 320.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.002795, allocations: 22.67 kB / 320.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.002874, allocations: 36.94 kB / 320.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.002973, allocations: 7.25 kB / 320.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.003023, allocations: 17.72 kB / 320.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.003067, allocations: 10.56 kB / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003085, allocations: 2.625 kB / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.003095, allocations: 7.594 kB / 320.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003113, allocations: 6 kB / 320.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.003141, allocations: 7.281 kB / 320.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.003234, allocations: 30.36 kB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003236, allocations: 0 / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003237, allocations: 0 / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003241, allocations: 5.406 kB / 320.6 MB, free: 2.449 MB / 286.1 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.0003479/0.003589, allocations: 273.5 kB / 320.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.003625, allocations: 11.06 kB / 320.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.003659, allocations: 2.438 kB / 320.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.00381, allocations: 131.7 kB / 321 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.003831, allocations: 3.25 kB / 321 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.003841, allocations: 2 kB / 321 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.004191, allocations: 120.8 kB / 321.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.004202, allocations: 0.7031 kB / 321.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004211, allocations: 1.469 kB / 321.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004216, allocations: 384 / 321.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.004355, allocations: 34.72 kB / 321.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.968e-05/0.004445, allocations: 107.8 kB / 321.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.004608, allocations: 56.7 kB / 321.3 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.004687, allocations: 25.23 kB / 321.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.004695, allocations: 1.812 kB / 321.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004714, allocations: 36.41 kB / 321.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.004715, allocations: 0 / 321.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.004985, allocations: 80.66 kB / 321.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.005028, allocations: 58.45 kB / 321.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.005084, allocations: 108.5 kB / 321.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.005091, allocations: 25.7 kB / 321.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.005112, allocations: 86.11 kB / 321.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.005122, allocations: 5.875 kB / 321.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.005145, allocations: 12.62 kB / 321.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.005186, allocations: 317.5 kB / 322 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.005196, allocations: 1.469 kB / 322.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.005204, allocations: 3.359 kB / 322.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.005226, allocations: 8.047 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005227, allocations: 1.125 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.824e-05/0.005276, allocations: 46.39 kB / 322.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005289, allocations: 7.188 kB / 322.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005294, allocations: 4 kB / 322.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.005311, allocations: 0 / 322.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.005362, allocations: 3.5 kB / 322.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.005368, allocations: 5.422 kB / 322.1 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.00538, allocations: 7.875 kB / 322.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.005384, allocations: 1.281 kB / 322.1 MB, free: 0.9922 MB / 286.1 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.787e-05/0.005432, allocations: 113 kB / 322.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.005577, allocations: 64.94 kB / 322.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.005601, allocations: 8.703 kB / 322.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005602, allocations: 1.375 kB / 322.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.005607, allocations: 8.547 kB / 322.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00561, allocations: 5.438 kB / 322.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.205e-05/0.005652, allocations: 103.2 kB / 322.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005653, allocations: 0 / 322.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.005712, allocations: 18.8 kB / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.005715, allocations: 1.031 kB / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.005722, allocations: 1.469 kB / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.005724, allocations: 256 / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005725, allocations: 4 kB / 322.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.005887, allocations: 93.42 kB / 322.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.005894, allocations: 8.797 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.005909, allocations: 2.484 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.005942, allocations: 4.172 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.005945, allocations: 1.094 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.00595, allocations: 1.156 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.005978, allocations: 86.67 kB / 322.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005978, allocations: 0 / 322.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00018/0.006158, allocations: 3.188 kB / 322.7 MB, free: 0.5117 MB / 286.1 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 8.246e-05/0.00624, allocations: 103.6 kB / 322.8 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.006373, allocations: 24.95 kB / 322.8 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006374, allocations: 1.188 kB / 322.8 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.006375, allocations: 0 / 322.8 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.006648, allocations: 28.52 kB / 322.8 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.006925, allocations: 119.4 kB / 322.9 MB, free: 292 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.006964, allocations: 70.19 kB / 323 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.911e-05/0.006983, allocations: 0 / 323 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.007009, allocations: 17.23 kB / 323 MB, free: 204 kB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.007009, allocations: 0 / 323 MB, free: 204 kB / 286.1 MB Notification: Performance of Templates: time 0.002825/0.009834, allocations: 446.8 kB / 323.4 MB, free: 128 kB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.208203289657831]