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.001535/0.001535, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001512/0.001512, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 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 0.001623/0.001623, allocations: 51.92 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2413, allocations: 53.35 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002886/0.2441, allocations: 1.481 MB / 433.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.2443, allocations: 31.84 kB / 433.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.2444, allocations: 4 kB / 433.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2444, allocations: 7.938 kB / 433.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.2445, allocations: 3.938 kB / 433.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2447, allocations: 15.97 kB / 433.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.2448, allocations: 31.92 kB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2449, allocations: 11.92 kB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.245, allocations: 8 kB / 434 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.245, allocations: 19.91 kB / 434 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.245, allocations: 4 kB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.245, allocations: 4 kB / 434 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.2451, allocations: 11.94 kB / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.2451, allocations: 11.94 kB / 434 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2452, allocations: 31.55 kB / 434.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2452, allocations: 0 / 434.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2452, allocations: 4 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2452, allocations: 0 / 434.1 MB, free: 5.238 MB / 334.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.0004675/0.2457, allocations: 268.9 kB / 434.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2457, allocations: 11.97 kB / 434.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2457, allocations: 4.891 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.246, allocations: 122.5 kB / 434.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.246, allocations: 4.312 kB / 434.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.246, allocations: 8.312 kB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.2464, allocations: 115.9 kB / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2464, allocations: 192 / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2464, allocations: 3.938 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2464, allocations: 0 / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.2465, allocations: 31.97 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.2467, allocations: 132.7 kB / 434.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2468, allocations: 54.48 kB / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.2469, allocations: 24.92 kB / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2469, allocations: 7.984 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.247, allocations: 34.56 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.247, allocations: 4 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.2472, allocations: 81.59 kB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.2473, allocations: 51.41 kB / 435 MB, free: 4.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.2474, allocations: 109.8 kB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2474, allocations: 25.7 kB / 435.1 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2475, allocations: 88.08 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.2475, allocations: 4 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2475, allocations: 17.72 kB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2477, allocations: 318.8 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.2477, allocations: 4 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.2477, allocations: 27.44 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.2478, allocations: 43.36 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2478, allocations: 0 / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.474e-05/0.2479, allocations: 61.59 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2479, allocations: 7.984 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2479, allocations: 7.875 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2479, allocations: 4 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.2479, allocations: 8 kB / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.248, allocations: 7.922 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.248, allocations: 8.062 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.248, allocations: 4 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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 9.474e-05/0.2481, allocations: 113.8 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.2482, allocations: 57.67 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2483, allocations: 15.92 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2483, allocations: 4 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2483, allocations: 0 / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2483, allocations: 0 / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2484, allocations: 128.7 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2484, allocations: 4 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.2484, allocations: 11.98 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2484, allocations: 3.938 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2485, allocations: 7.875 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2485, allocations: 0 / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2485, allocations: 384 / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.2486, allocations: 93.09 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.2487, allocations: 3.953 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2487, allocations: 15.94 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.2487, allocations: 4 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-06/0.2487, allocations: 0 / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2487, allocations: 0 / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.2488, allocations: 87.27 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2488, allocations: 0 / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.2489, allocations: 8 kB / 436.3 MB, free: 2.719 MB / 334.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 0.0001034/0.2491, allocations: 91.25 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.2492, allocations: 35.92 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2492, allocations: 0 / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.2492, allocations: 0 / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2495, allocations: 36.3 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.2498, allocations: 147.3 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.2501, allocations: 0.6768 MB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.2501, allocations: 11.44 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2501, allocations: 256 / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Templates: time 0.002263/0.2524, allocations: 0.6355 MB / 437.9 MB, free: 1.027 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: 6.441993654938415]