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.001758/0.001758, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002063/0.002063, allocations: 210.6 kB / 24.47 MB, free: 3.977 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001547/0.001547, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2756, allocations: 53.38 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002777/0.2784, allocations: 1.469 MB / 433.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.2786, allocations: 31.84 kB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.2787, allocations: 7.938 kB / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.2787, allocations: 0 / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.2787, allocations: 7.938 kB / 433.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.279, allocations: 23.97 kB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.279, allocations: 27.92 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2791, allocations: 7.984 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.2792, allocations: 11.94 kB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.2792, allocations: 19.91 kB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2792, allocations: 0 / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2793, allocations: 4 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.2793, allocations: 4 kB / 434 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2793, allocations: 11.94 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2794, allocations: 43.44 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2794, allocations: 3.984 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2794, allocations: 0 / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2794, allocations: 0 / 434 MB, free: 5.059 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.0004354/0.2799, allocations: 261.3 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2799, allocations: 12.02 kB / 434.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.2799, allocations: 8.891 kB / 434.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2801, allocations: 122.5 kB / 434.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2802, allocations: 4.359 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2802, allocations: 384 / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.2805, allocations: 119.9 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2805, allocations: 192 / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2805, allocations: 3.938 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2806, allocations: 4 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2807, allocations: 27.91 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2808, allocations: 109.3 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.281, allocations: 54.55 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.2811, allocations: 24.92 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.2811, allocations: 4 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2811, allocations: 34.56 kB / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2811, allocations: 0 / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000295/0.2814, allocations: 81.53 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2814, allocations: 55.41 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.2815, allocations: 105.8 kB / 435 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2815, allocations: 33.64 kB / 435.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.2816, allocations: 80.14 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2816, allocations: 4 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2816, allocations: 17.72 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2818, allocations: 318.8 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.2818, allocations: 11.94 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.2818, allocations: 27.44 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.2819, allocations: 39.36 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2819, allocations: 4 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.045e-05/0.282, allocations: 57.53 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.282, allocations: 8.125 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.282, allocations: 7.984 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.282, allocations: 4.125 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.2821, allocations: 8 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2821, allocations: 3.984 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.2821, allocations: 11.94 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.2821, allocations: 0 / 435.6 MB, free: 3.223 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 8.939e-05/0.2822, allocations: 113.8 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2824, allocations: 69.61 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2824, allocations: 7.984 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2824, allocations: 7.938 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2824, allocations: 384 / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2824, allocations: 0 / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.756e-05/0.2825, allocations: 105.3 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2825, allocations: 4 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.2826, allocations: 11.98 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2826, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2826, allocations: 4 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2826, allocations: 0 / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2826, allocations: 3.938 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.2828, allocations: 93.03 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.2828, allocations: 15.89 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.2828, allocations: 4 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.2828, allocations: 4 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.2828, allocations: 3.938 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2828, allocations: 0 / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.2829, allocations: 87.27 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2829, allocations: 0 / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00019/0.2831, allocations: 4 kB / 436.2 MB, free: 2.621 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 9.02e-05/0.2832, allocations: 95.25 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2833, allocations: 39.91 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2833, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2833, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2836, allocations: 24.02 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.2839, allocations: 117.6 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.2839, allocations: 74.53 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.967e-05/0.2839, allocations: 3.984 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.284, allocations: 7.438 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.284, allocations: 8.25 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Templates: time 0.002713/0.2867, allocations: 489.5 kB / 437 MB, free: 1.738 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 -s gbode -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: 4.300412958997185]