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.001685/0.001685, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001911/0.001911, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001564/0.001564, allocations: 47.92 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3153, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002787/0.3181, allocations: 1.483 MB / 433.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.3183, allocations: 27.91 kB / 433.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.3184, allocations: 7.938 kB / 433.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.3184, allocations: 0 / 433.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.3185, allocations: 3.938 kB / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3187, allocations: 23.97 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.3188, allocations: 31.86 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3189, allocations: 4 kB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.3189, allocations: 15.98 kB / 433.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.319, allocations: 11.94 kB / 433.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.319, allocations: 4 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.319, allocations: 4 kB / 433.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.319, allocations: 15.91 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3191, allocations: 7.938 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3192, allocations: 33.81 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3192, allocations: 0 / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3192, allocations: 0 / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3192, allocations: 0 / 434 MB, free: 5.035 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.0004598/0.3197, allocations: 272.8 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3197, allocations: 11.97 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3197, allocations: 12.89 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3199, allocations: 110.5 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.32, allocations: 16.34 kB / 434.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.32, allocations: 384 / 434.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3204, allocations: 123.8 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3204, allocations: 192 / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3204, allocations: 3.938 kB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3204, allocations: 4 kB / 434.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3205, allocations: 31.91 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3207, allocations: 97.33 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3209, allocations: 54.55 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.3209, allocations: 24.92 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.321, allocations: 0 / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.321, allocations: 42.55 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.321, allocations: 0 / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003012/0.3213, allocations: 85.48 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3213, allocations: 55.41 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.3214, allocations: 105.9 kB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3215, allocations: 33.69 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.3215, allocations: 84.14 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.3215, allocations: 4 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3216, allocations: 13.72 kB / 435.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3217, allocations: 314.8 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3217, allocations: 7.984 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.3217, allocations: 27.44 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.3218, allocations: 39.38 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3218, allocations: 0 / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.544e-05/0.3219, allocations: 69.52 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3219, allocations: 8 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3219, allocations: 0 / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3219, allocations: 3.938 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.322, allocations: 11.98 kB / 435.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.322, allocations: 0 / 435.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.322, allocations: 7.938 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.322, allocations: 8.062 kB / 435.7 MB, free: 3.188 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.302e-05/0.3221, allocations: 113.8 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3223, allocations: 65.61 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.3223, allocations: 8 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3223, allocations: 4.172 kB / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3223, allocations: 0 / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3223, allocations: 0 / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.826e-05/0.3224, allocations: 117.2 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3224, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.3225, allocations: 11.98 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3225, allocations: 4 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3225, allocations: 4 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3225, allocations: 0 / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3225, allocations: 4.312 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3227, allocations: 89.05 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.3227, allocations: 7.984 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3227, allocations: 4 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.3227, allocations: 4 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-06/0.3227, allocations: 3.938 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3227, allocations: 0 / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.3228, allocations: 87.27 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 4 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.323, allocations: 4 kB / 436.2 MB, free: 2.59 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.0001054/0.3231, allocations: 95.25 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3232, allocations: 35.92 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3232, allocations: 0 / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.3232, allocations: 0 / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3235, allocations: 24.02 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.3238, allocations: 143.5 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.003e-05/0.3239, allocations: 71.34 kB / 436.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.3239, allocations: 11.44 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3239, allocations: 0 / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Templates: time 0.002081/0.326, allocations: 0.6382 MB / 437.2 MB, free: 1.523 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.797947906976333]