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.0013/0.0013, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001483/0.001483, allocations: 210 kB / 24.49 MB, free: 4.148 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.00191/0.00191, allocations: 47.92 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003324/0.3263, allocations: 1.637 MB / 434 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3275, allocations: 0.5842 MB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.3276, allocations: 3.938 kB / 434.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.3277, allocations: 3.938 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.3278, allocations: 15.88 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3282, allocations: 63.81 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3283, allocations: 59.77 kB / 434.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3284, allocations: 15.98 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3286, allocations: 27.86 kB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.3287, allocations: 31.84 kB / 434.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3287, allocations: 4 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.3287, allocations: 4 kB / 434.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.3288, allocations: 15.94 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3288, allocations: 31.73 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.329, allocations: 68.94 kB / 435 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.329, allocations: 7.938 kB / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.329, allocations: 0 / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.329, allocations: 0 / 435 MB, free: 4.359 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.0005593/0.3296, allocations: 309.9 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3296, allocations: 12.03 kB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3298, allocations: 16.88 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3301, allocations: 158.8 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3301, allocations: 8.375 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3301, allocations: 4.125 kB / 435.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3305, allocations: 130.7 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3305, allocations: 8 kB / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3305, allocations: 0 / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3305, allocations: 3.984 kB / 435.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.3306, allocations: 31.91 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.331, allocations: 258.5 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3311, allocations: 90.42 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.3312, allocations: 47.42 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3312, allocations: 3.984 kB / 436 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3313, allocations: 38.56 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3313, allocations: 0 / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003158/0.3316, allocations: 98 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3317, allocations: 140.5 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3318, allocations: 148.1 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3319, allocations: 25.7 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.3319, allocations: 100 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.3319, allocations: 7.953 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.332, allocations: 21.67 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3321, allocations: 326.8 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.3322, allocations: 11.98 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.3322, allocations: 40.3 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3324, allocations: 64.2 kB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3324, allocations: 0 / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.3325, allocations: 81.52 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3325, allocations: 11.92 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3326, allocations: 8.141 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3326, allocations: 4 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.3327, allocations: 12 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3327, allocations: 0 / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.3327, allocations: 11.92 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3327, allocations: 4 kB / 437.2 MB, free: 1.867 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.0001014/0.3328, allocations: 121.8 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.3329, allocations: 53.64 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.333, allocations: 19.98 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.333, allocations: 4 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.333, allocations: 0 / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.333, allocations: 7.922 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.3332, allocations: 152.7 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3332, allocations: 0 / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.3333, allocations: 19.92 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3333, allocations: 0 / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3333, allocations: 0 / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.3333, allocations: 8.125 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3333, allocations: 0 / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3335, allocations: 202 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3336, allocations: 23.88 kB / 437.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3336, allocations: 3.938 kB / 437.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3337, allocations: 7.984 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3337, allocations: 7.938 kB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3337, allocations: 4 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.129e-05/0.3338, allocations: 113.7 kB / 437.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3338, allocations: 0 / 437.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3341, allocations: 8 kB / 437.9 MB, free: 1.039 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.0001149/0.3342, allocations: 95.25 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3344, allocations: 51.84 kB / 438 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3344, allocations: 0 / 438 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.3344, allocations: 15.94 kB / 438.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3348, allocations: 35.92 kB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.3353, allocations: 244.1 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3356, allocations: 0.6963 MB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.3357, allocations: 15.38 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3357, allocations: 0 / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00269/0.3383, allocations: 0.9383 MB / 440 MB, free: 14.89 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/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: 7.148532110033557]