Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 211.9 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3588, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003516/0.3623, allocations: 1.48 MB / 431.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002336/0.3625, allocations: 27.91 kB / 431.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.3626, allocations: 4 kB / 431.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.3626, allocations: 3.938 kB / 431.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3627, allocations: 3.938 kB / 431.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.363, allocations: 23.34 kB / 431.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3631, allocations: 31.92 kB / 431.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3632, allocations: 3.984 kB / 431.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.185e-05/0.3633, allocations: 15.94 kB / 431.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.3633, allocations: 19.91 kB / 431.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3633, allocations: 4 kB / 431.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.3634, allocations: 4 kB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.3634, allocations: 7.938 kB / 431.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.3634, allocations: 11.94 kB / 431.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3635, allocations: 33.42 kB / 431.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.3636, allocations: 4 kB / 431.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3636, allocations: 0 / 431.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3636, allocations: 0 / 431.5 MB, free: 5.859 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.0005985/0.3642, allocations: 347.1 kB / 431.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3642, allocations: 8.031 kB / 431.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.3643, allocations: 8.891 kB / 431.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3645, allocations: 180.2 kB / 432 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3646, allocations: 384 / 432 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.3646, allocations: 8.312 kB / 432 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.365, allocations: 123.8 kB / 432.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.365, allocations: 8.172 kB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3651, allocations: 3.938 kB / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3651, allocations: 0 / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3652, allocations: 27.97 kB / 432.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.3655, allocations: 161.6 kB / 432.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3657, allocations: 54.48 kB / 432.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.3658, allocations: 24.92 kB / 432.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3658, allocations: 4 kB / 432.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.3658, allocations: 34.56 kB / 432.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3658, allocations: 0 / 432.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003324/0.3661, allocations: 77.59 kB / 432.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.3662, allocations: 67.33 kB / 432.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3664, allocations: 101.9 kB / 432.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3664, allocations: 25.7 kB / 432.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3665, allocations: 80.14 kB / 432.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.3665, allocations: 11.98 kB / 432.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.3665, allocations: 13.72 kB / 432.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3667, allocations: 318.8 kB / 433.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.3667, allocations: 0 / 433.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.3668, allocations: 35.42 kB / 433.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/0.3668, allocations: 39.38 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3668, allocations: 0 / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.65e-05/0.3669, allocations: 61.58 kB / 433.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3669, allocations: 4 kB / 433.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.367, allocations: 3.938 kB / 433.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.367, allocations: 8.125 kB / 433.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.3671, allocations: 11.94 kB / 433.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3671, allocations: 7.938 kB / 433.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.3671, allocations: 3.938 kB / 433.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3671, allocations: 7.984 kB / 433.3 MB, free: 3.773 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 0.0001126/0.3672, allocations: 109.8 kB / 433.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3674, allocations: 65.62 kB / 433.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.3674, allocations: 11.84 kB / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3674, allocations: 0 / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3674, allocations: 4 kB / 433.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3674, allocations: 4 kB / 433.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3676, allocations: 161.6 kB / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3676, allocations: 0 / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.3676, allocations: 8 kB / 433.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3676, allocations: 0 / 433.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3677, allocations: 12.23 kB / 433.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3677, allocations: 0 / 433.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3677, allocations: 4 kB / 433.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.3679, allocations: 93.33 kB / 433.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3679, allocations: 85.06 kB / 433.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.368, allocations: 3.938 kB / 433.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.468e-05/0.368, allocations: 7.984 kB / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-06/0.368, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.368, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.3681, allocations: 83.28 kB / 434 MB, free: 3.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3681, allocations: 0 / 434 MB, free: 3.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.3683, allocations: 4 kB / 434 MB, free: 3.016 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.0001722/0.3684, allocations: 111.2 kB / 434.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3686, allocations: 27.98 kB / 434.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3686, allocations: 0 / 434.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.3686, allocations: 0 / 434.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.369, allocations: 27.95 kB / 434.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.3693, allocations: 125.5 kB / 434.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3697, allocations: 0.6848 MB / 434.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.3697, allocations: 3.938 kB / 434.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3697, allocations: 15.44 kB / 435 MB, free: 1.965 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3697, allocations: 0 / 435 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Templates: time 0.00341/0.3732, allocations: 436.4 kB / 435.4 MB, free: 1.539 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.136971175670624]