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.00133/0.00133, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001558/0.001558, allocations: 213.1 kB / 24.48 MB, free: 3.934 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.542/1.542, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.001621/0.001621, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 53.36 MB / 432.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003013/0.2419, allocations: 1.621 MB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2429, allocations: 0.5337 MB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.243, allocations: 4 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.285e-05/0.2431, allocations: 11.86 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2432, allocations: 11.88 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2436, allocations: 59.81 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2437, allocations: 59.77 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.2438, allocations: 12 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2439, allocations: 35.8 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.244, allocations: 27.84 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.244, allocations: 4 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.2441, allocations: 4 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.2441, allocations: 19.92 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.2442, allocations: 27.8 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2443, allocations: 66.34 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2443, allocations: 4 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2443, allocations: 0 / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2443, allocations: 0 / 434.8 MB, free: 4.16 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.0005008/0.2448, allocations: 309.9 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2449, allocations: 16.03 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.245, allocations: 12.89 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2453, allocations: 153.1 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2453, allocations: 8.375 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.2453, allocations: 8.109 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2456, allocations: 134.7 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2456, allocations: 3.938 kB / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2456, allocations: 0 / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2456, allocations: 0 / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.2457, allocations: 31.92 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.2461, allocations: 231.1 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2462, allocations: 98.42 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.2463, allocations: 47.36 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2463, allocations: 0 / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2463, allocations: 38.56 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2463, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000301/0.2466, allocations: 101.5 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.2467, allocations: 137 kB / 436.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2469, allocations: 145.4 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2469, allocations: 29.7 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.247, allocations: 92.14 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.247, allocations: 3.953 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.247, allocations: 29.66 kB / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2472, allocations: 318.8 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.2472, allocations: 19.92 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.2473, allocations: 44.28 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.2474, allocations: 60.22 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2474, allocations: 4 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001594/0.2476, allocations: 81.5 kB / 436.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2476, allocations: 8 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2476, allocations: 0 / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2476, allocations: 160 / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.2477, allocations: 20.11 kB / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2477, allocations: 0 / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.2478, allocations: 8 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.2478, allocations: 7.938 kB / 437 MB, free: 1.719 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 9.648e-05/0.2479, allocations: 121.8 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.248, allocations: 57.59 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.248, allocations: 19.91 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.248, allocations: 0 / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.248, allocations: 3.984 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.248, allocations: 12 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2482, allocations: 129.2 kB / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2482, allocations: 0 / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.2482, allocations: 12 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2482, allocations: 0 / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2483, allocations: 3.938 kB / 437.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.2483, allocations: 7.984 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2483, allocations: 0 / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.2485, allocations: 202 kB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2485, allocations: 27.88 kB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2485, allocations: 4 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.2486, allocations: 0 / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2487, allocations: 11.88 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2487, allocations: 4 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.2487, allocations: 115.2 kB / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2487, allocations: 0 / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.249, allocations: 8 kB / 437.7 MB, free: 0.918 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 9.629e-05/0.2491, allocations: 103.2 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.2493, allocations: 39.92 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2493, allocations: 4 kB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.2493, allocations: 11.98 kB / 437.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2497, allocations: 41.59 kB / 437.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.2501, allocations: 227.5 kB / 438.1 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.2502, allocations: 91.94 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2502, allocations: 15.44 kB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2502, allocations: 0 / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of Templates: time 0.002484/0.2527, allocations: 0.9586 MB / 439.2 MB, free: 15.37 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: 6.840819526929408]