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.0019/0.0019, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002235/0.002235, allocations: 211.3 kB / 23.72 MB, free: 4.531 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001635/0.001635, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3094, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003125/0.3126, allocations: 1.473 MB / 433.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.3128, allocations: 27.91 kB / 433.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3128, allocations: 7.938 kB / 433.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.3129, allocations: 0 / 433.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.3129, allocations: 3.938 kB / 433.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3132, allocations: 23.97 kB / 433.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.3133, allocations: 27.86 kB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3134, allocations: 15.98 kB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.3134, allocations: 15.92 kB / 433.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.3135, allocations: 11.94 kB / 433.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3135, allocations: 4 kB / 433.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.3135, allocations: 4 kB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.3135, allocations: 7.969 kB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.3136, allocations: 15.88 kB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3137, allocations: 38.36 kB / 433.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3137, allocations: 0 / 433.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3137, allocations: 0 / 433.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3137, allocations: 0 / 433.3 MB, free: 5.047 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.0005124/0.3142, allocations: 273.9 kB / 433.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3143, allocations: 8.031 kB / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.3143, allocations: 8.891 kB / 433.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3146, allocations: 118.5 kB / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3146, allocations: 4.375 kB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3146, allocations: 384 / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.315, allocations: 119.8 kB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.315, allocations: 192 / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.315, allocations: 7.938 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.315, allocations: 3.938 kB / 433.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3151, allocations: 27.97 kB / 433.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.3153, allocations: 105.3 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3155, allocations: 54.55 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.3155, allocations: 28.91 kB / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3156, allocations: 0 / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3156, allocations: 30.56 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3156, allocations: 0 / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002992/0.3159, allocations: 85.53 kB / 434.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.316, allocations: 63.41 kB / 434.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.3161, allocations: 105.8 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3161, allocations: 25.7 kB / 434.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.3161, allocations: 80.14 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.3161, allocations: 0 / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3162, allocations: 17.72 kB / 434.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3163, allocations: 322.8 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3164, allocations: 4 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.3164, allocations: 27.44 kB / 434.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.3164, allocations: 39.75 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3164, allocations: 0 / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.545e-05/0.3165, allocations: 65.52 kB / 434.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3166, allocations: 7.938 kB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3166, allocations: 8 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3166, allocations: 3.938 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.3167, allocations: 15.98 kB / 434.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3167, allocations: 4.125 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.3167, allocations: 7.938 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.3167, allocations: 0 / 434.9 MB, free: 3.207 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.971e-05/0.3168, allocations: 113.8 kB / 435 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.317, allocations: 65.61 kB / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.317, allocations: 12.23 kB / 435.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.317, allocations: 7.922 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.317, allocations: 0 / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.317, allocations: 3.984 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/0.3171, allocations: 101.3 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3171, allocations: 4 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3172, allocations: 11.98 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3172, allocations: 0 / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.3172, allocations: 0 / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3172, allocations: 4 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3172, allocations: 3.938 kB / 435.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3174, allocations: 93.03 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3174, allocations: 7.953 kB / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.3174, allocations: 4 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.3175, allocations: 0 / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-06/0.3175, allocations: 7.938 kB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3175, allocations: 4 kB / 435.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.983e-05/0.3176, allocations: 87.27 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3176, allocations: 0 / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.3177, allocations: 4 kB / 435.4 MB, free: 2.609 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.0001321/0.3179, allocations: 95.25 kB / 435.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.318, allocations: 27.92 kB / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.318, allocations: 4 kB / 435.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.318, allocations: 3.938 kB / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3184, allocations: 30.97 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.3188, allocations: 121.6 kB / 435.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.832e-05/0.3189, allocations: 63.34 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.3189, allocations: 4 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3189, allocations: 11.38 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3189, allocations: 0 / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of Templates: time 0.003569/0.3225, allocations: 0.4939 MB / 436.3 MB, free: 1.723 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/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_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.632110337726772]