Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 55.91 kB / 371.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002996/0.2453, allocations: 1.616 MB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.2463, allocations: 474.8 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2464, allocations: 7.938 kB / 425.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.763e-05/0.2465, allocations: 7.938 kB / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.2466, allocations: 11.86 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.2469, allocations: 53.83 kB / 426 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2471, allocations: 55.83 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.2472, allocations: 8 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.2472, allocations: 35.8 kB / 426.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.2473, allocations: 19.86 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2473, allocations: 0 / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.2473, allocations: 4 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.2474, allocations: 23.91 kB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.2474, allocations: 27.86 kB / 426.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2476, allocations: 61.36 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2476, allocations: 0 / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2476, allocations: 4 kB / 426.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2476, allocations: 3.938 kB / 426.2 MB, free: 12.1 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.0004888/0.2481, allocations: 306 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2481, allocations: 8.031 kB / 426.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.2481, allocations: 16.83 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2484, allocations: 146.9 kB / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2484, allocations: 384 / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2484, allocations: 8.125 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2487, allocations: 138.7 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2487, allocations: 0 / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.2487, allocations: 3.938 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2487, allocations: 0 / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.2488, allocations: 31.92 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.2491, allocations: 235.1 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.2493, allocations: 86.36 kB / 427.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.2494, allocations: 43.55 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2494, allocations: 4 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2494, allocations: 42.44 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2494, allocations: 4 kB / 427.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002939/0.2497, allocations: 105.5 kB / 427.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.2498, allocations: 132.5 kB / 427.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2499, allocations: 139.3 kB / 427.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.25, allocations: 33.7 kB / 427.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.25, allocations: 92.08 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.25, allocations: 11.95 kB / 427.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2501, allocations: 18.22 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2502, allocations: 326.8 kB / 428.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.2503, allocations: 11.98 kB / 428.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.2503, allocations: 44.28 kB / 428.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2504, allocations: 64.16 kB / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2505, allocations: 0 / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001528/0.2506, allocations: 81.56 kB / 428.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2506, allocations: 8 kB / 428.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2506, allocations: 0 / 428.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2506, allocations: 4 kB / 428.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.2507, allocations: 11.94 kB / 428.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2507, allocations: 4 kB / 428.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.2508, allocations: 7.922 kB / 428.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2508, allocations: 8.094 kB / 428.4 MB, free: 9.684 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.158e-05/0.2509, allocations: 125.8 kB / 428.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.251, allocations: 57.58 kB / 428.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.251, allocations: 11.97 kB / 428.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.251, allocations: 0 / 428.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.251, allocations: 8.109 kB / 428.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.251, allocations: 0 / 428.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.2512, allocations: 125.2 kB / 428.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2512, allocations: 0 / 428.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.2512, allocations: 15.98 kB / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2512, allocations: 4.062 kB / 428.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2513, allocations: 0 / 428.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2513, allocations: 4 kB / 428.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2513, allocations: 7.922 kB / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2515, allocations: 205.9 kB / 428.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.2515, allocations: 19.94 kB / 428.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2515, allocations: 7.938 kB / 428.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.2516, allocations: 3.984 kB / 428.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.2516, allocations: 8 kB / 428.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2517, allocations: 4 kB / 428.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.2517, allocations: 117.1 kB / 429.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2517, allocations: 0 / 429.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.252, allocations: 8 kB / 429.1 MB, free: 8.891 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.943e-05/0.2521, allocations: 99.19 kB / 429.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2522, allocations: 51.91 kB / 429.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2522, allocations: 0 / 429.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.2523, allocations: 12.31 kB / 429.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2526, allocations: 35.33 kB / 429.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.253, allocations: 219.8 kB / 429.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.226e-05/0.2531, allocations: 87.41 kB / 429.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.2532, allocations: 19.42 kB / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2532, allocations: 0 / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of Templates: time 0.002411/0.2556, allocations: 0.9395 MB / 430.5 MB, free: 7.371 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.899944101925939]