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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 106.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 194.3 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.001775/0.001775, allocations: 51.92 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3386, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003494/0.3421, allocations: 1.622 MB / 422.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3432, allocations: 0.4947 MB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3433, allocations: 11.88 kB / 423.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.3434, allocations: 7.938 kB / 423.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.3435, allocations: 15.8 kB / 423.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.3438, allocations: 51.83 kB / 423.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3439, allocations: 51.84 kB / 423.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.344, allocations: 15.98 kB / 423.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.3441, allocations: 23.86 kB / 423.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.3442, allocations: 31.8 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3442, allocations: 4 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.3442, allocations: 0 / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.3443, allocations: 23.91 kB / 423.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.3443, allocations: 27.81 kB / 423.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.3445, allocations: 64.92 kB / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3445, allocations: 0 / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3445, allocations: 0 / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3445, allocations: 4 kB / 423.7 MB, free: 12.72 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.0005981/0.3451, allocations: 387 kB / 424.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3451, allocations: 8.031 kB / 424.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.3452, allocations: 12.84 kB / 424.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3455, allocations: 215.9 kB / 424.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3456, allocations: 384 / 424.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3456, allocations: 12.12 kB / 424.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.3459, allocations: 126.7 kB / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3459, allocations: 4 kB / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3459, allocations: 0 / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.346, allocations: 0 / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-05/0.346, allocations: 31.91 kB / 424.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.3465, allocations: 291.4 kB / 424.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3466, allocations: 90.42 kB / 424.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.3467, allocations: 51.48 kB / 424.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3467, allocations: 3.984 kB / 424.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3468, allocations: 38.5 kB / 425 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3468, allocations: 0 / 425 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003336/0.3471, allocations: 98 kB / 425.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3472, allocations: 140.5 kB / 425.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3474, allocations: 141.8 kB / 425.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3474, allocations: 29.64 kB / 425.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.3475, allocations: 100 kB / 425.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3475, allocations: 11.89 kB / 425.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.3475, allocations: 17.72 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3477, allocations: 322.9 kB / 425.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.3477, allocations: 12 kB / 425.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.3478, allocations: 48.28 kB / 425.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3479, allocations: 60.22 kB / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3479, allocations: 0 / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001686/0.3481, allocations: 85.5 kB / 426 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3481, allocations: 4 kB / 426 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3481, allocations: 8.156 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3481, allocations: 0 / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.3482, allocations: 15.98 kB / 426.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3482, allocations: 3.938 kB / 426.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.3483, allocations: 11.88 kB / 426.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3483, allocations: 3.984 kB / 426.1 MB, free: 10.05 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.0001072/0.3484, allocations: 121.8 kB / 426.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.3485, allocations: 61.58 kB / 426.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.3485, allocations: 15.94 kB / 426.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3485, allocations: 0 / 426.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3485, allocations: 4 kB / 426.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3485, allocations: 3.938 kB / 426.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3488, allocations: 173.6 kB / 426.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3488, allocations: 7.984 kB / 426.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.3488, allocations: 11.98 kB / 426.5 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3488, allocations: 0 / 426.5 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3488, allocations: 8 kB / 426.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3488, allocations: 0 / 426.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3488, allocations: 8 kB / 426.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3491, allocations: 193.9 kB / 426.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3492, allocations: 97.05 kB / 426.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3492, allocations: 3.984 kB / 426.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3493, allocations: 12.19 kB / 426.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3493, allocations: 3.938 kB / 426.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3493, allocations: 8 kB / 426.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.471e-05/0.3494, allocations: 117.1 kB / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3494, allocations: 0 / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3496, allocations: 4 kB / 426.9 MB, free: 9.105 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.000131/0.3498, allocations: 104 kB / 427 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.35, allocations: 51.84 kB / 427.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.35, allocations: 0 / 427.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.35, allocations: 8 kB / 427.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3504, allocations: 38.92 kB / 427.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.3509, allocations: 228 kB / 427.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3513, allocations: 0.7 MB / 428 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.3513, allocations: 15.42 kB / 428.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3513, allocations: 0 / 428.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of Templates: time 0.002694/0.354, allocations: 0.9128 MB / 429 MB, free: 6.984 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