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.001421/0.001421, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001552/0.001552, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 18.57 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 0.9813/0.9813, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.09e-05, allocations: 6.25 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002074/0.002095, allocations: 1.658 MB / 274.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.002889, allocations: 0.553 MB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.003002, allocations: 3.938 kB / 275.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.003059, allocations: 7.922 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.003227, allocations: 15.86 kB / 275.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.003545, allocations: 67.62 kB / 275.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003661, allocations: 63.77 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00377, allocations: 11.98 kB / 275.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.003904, allocations: 39.91 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.003961, allocations: 19.97 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003977, allocations: 0 / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.004018, allocations: 8 kB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.004068, allocations: 11.94 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.004098, allocations: 23.91 kB / 275.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.00425, allocations: 55.64 kB / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004253, allocations: 0 / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004254, allocations: 0 / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.004259, allocations: 0 / 275.6 MB, free: 15.28 MB / 266.7 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.0004447/0.004703, allocations: 416.2 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.004741, allocations: 16.03 kB / 276 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.004872, allocations: 16.89 kB / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.005084, allocations: 156.9 kB / 276.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005096, allocations: 8.312 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.005107, allocations: 4.375 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.005368, allocations: 160.9 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.005377, allocations: 3.938 kB / 276.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005388, allocations: 0 / 276.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005396, allocations: 0 / 276.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.005426, allocations: 11.94 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.005733, allocations: 290.9 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.005823, allocations: 120.2 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.005865, allocations: 46.88 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.005892, allocations: 11.98 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.00592, allocations: 37.39 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005921, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001792/0.0061, allocations: 81.5 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.006163, allocations: 136.5 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006277, allocations: 200.9 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.006292, allocations: 29.7 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.00635, allocations: 135.4 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.006367, allocations: 7.953 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.006399, allocations: 31.31 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.006517, allocations: 496.1 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.00653, allocations: 8 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.006548, allocations: 15.38 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.00658, allocations: 31.3 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006582, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.222e-05/0.006634, allocations: 37.8 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006648, allocations: 12.03 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006653, allocations: 4 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006665, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.006723, allocations: 11.92 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.00673, allocations: 0 / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.006752, allocations: 11.89 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.006758, allocations: 0 / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.66e-05/0.006835, allocations: 160.5 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.006889, allocations: 57.58 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.00692, allocations: 19.97 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006923, allocations: 3.984 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.006927, allocations: 4 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006931, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.00704, allocations: 136.6 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007041, allocations: 0 / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.007074, allocations: 15.98 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007076, allocations: 0 / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.007082, allocations: 0 / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007084, allocations: 4 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007085, allocations: 0 / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.007206, allocations: 250.8 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.007233, allocations: 11.95 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.007247, allocations: 7.984 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.007281, allocations: 0 / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.007309, allocations: 4 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007314, allocations: 4 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.007364, allocations: 147.2 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007364, allocations: 0 / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007509, allocations: 11.95 kB / 278.9 MB, free: 11.56 MB / 266.7 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 6.714e-05/0.007576, allocations: 103.2 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.007649, allocations: 27.55 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.00765, allocations: 0 / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.007666, allocations: 19.62 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.007925, allocations: 25.2 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.008385, allocations: 220.1 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.008429, allocations: 63.34 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.008452, allocations: 0 / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.008482, allocations: 12.5 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008483, allocations: 0 / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Templates: time 0.002307/0.01079, allocations: 0.7643 MB / 280.1 MB, free: 10.27 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8497766591608524]