Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001867/0.001867, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002197/0.002197, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.643/1.643, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3192, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003297/0.3225, allocations: 1.624 MB / 433.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3238, allocations: 0.5337 MB / 433.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3239, allocations: 3.938 kB / 433.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.3239, allocations: 3.938 kB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.3241, allocations: 15.86 kB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3245, allocations: 66.92 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3246, allocations: 55.73 kB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3247, allocations: 15.98 kB / 433.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3248, allocations: 27.92 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.3249, allocations: 31.78 kB / 434 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3249, allocations: 4 kB / 434 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.325, allocations: 8 kB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.325, allocations: 19.92 kB / 434 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.479e-05/0.3251, allocations: 19.88 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3253, allocations: 73.84 kB / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3253, allocations: 0 / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3253, allocations: 0 / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3253, allocations: 0 / 434.1 MB, free: 4.246 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005362/0.3258, allocations: 317.9 kB / 434.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3258, allocations: 8.031 kB / 434.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.326, allocations: 12.89 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3263, allocations: 154.9 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3263, allocations: 4.375 kB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3263, allocations: 12.12 kB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3266, allocations: 130.7 kB / 434.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3267, allocations: 3.938 kB / 434.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3267, allocations: 4 kB / 434.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3267, allocations: 4 kB / 434.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.3268, allocations: 23.92 kB / 434.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3272, allocations: 239.1 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.3273, allocations: 94.36 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.3274, allocations: 43.48 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3274, allocations: 4 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3275, allocations: 38.56 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3275, allocations: 3.938 kB / 435.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003045/0.3278, allocations: 101.5 kB / 435.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3279, allocations: 136.5 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.328, allocations: 148.3 kB / 435.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3281, allocations: 25.7 kB / 435.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3281, allocations: 92.64 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3282, allocations: 7.953 kB / 435.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3282, allocations: 29.66 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3284, allocations: 318.8 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.3284, allocations: 15.98 kB / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.3285, allocations: 44.28 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3286, allocations: 64.22 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3286, allocations: 0 / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001659/0.3288, allocations: 81.5 kB / 436.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3288, allocations: 8 kB / 436.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3288, allocations: 0 / 436.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3288, allocations: 0 / 436.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.3289, allocations: 15.98 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3289, allocations: 160 / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.3289, allocations: 8 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3289, allocations: 7.938 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001099/0.3291, allocations: 125.7 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.3292, allocations: 57.66 kB / 436.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.3292, allocations: 19.91 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3292, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3292, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3292, allocations: 4 kB / 436.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3294, allocations: 125.2 kB / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3294, allocations: 8.047 kB / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.3294, allocations: 15.94 kB / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3294, allocations: 0 / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3294, allocations: 0 / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3295, allocations: 11.97 kB / 436.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3295, allocations: 3.938 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3297, allocations: 206.1 kB / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.3297, allocations: 27.86 kB / 436.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3298, allocations: 11.94 kB / 436.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.3298, allocations: 4 kB / 436.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3299, allocations: 4 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3299, allocations: 0 / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.3299, allocations: 120.7 kB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3299, allocations: 0 / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000245/0.3302, allocations: 8 kB / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001057/0.3303, allocations: 95.25 kB / 437.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3305, allocations: 48.16 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3305, allocations: 0 / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.3305, allocations: 19.92 kB / 437.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3309, allocations: 34.06 kB / 437.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.3313, allocations: 201.8 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3314, allocations: 87.31 kB / 437.4 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.3314, allocations: 8.375 kB / 437.5 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3315, allocations: 11.44 kB / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3315, allocations: 0 / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of Templates: time 0.003771/0.3352, allocations: 0.842 MB / 438.3 MB, free: 15.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.887478061951697]