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.0008633/0.0008633, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002294, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007211/0.0007211, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001734, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.047/1.047, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07792/1.125, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.805e-05, allocations: 2.312 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002542/0.00256, allocations: 1.692 MB / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.003108, allocations: 0.5 MB / 241.8 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.003178, allocations: 3.938 kB / 241.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.003212, allocations: 7.922 kB / 241.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.003285, allocations: 15.86 kB / 241.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.003454, allocations: 55.7 kB / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.003553, allocations: 55.78 kB / 241.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.003635, allocations: 11.98 kB / 241.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.003726, allocations: 43.84 kB / 241.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.003779, allocations: 19.91 kB / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.0038, allocations: 4 kB / 242 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.003811, allocations: 4 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.003852, allocations: 19.92 kB / 242 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.003875, allocations: 11.94 kB / 242 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.663e-05/0.003972, allocations: 39.8 kB / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.003986, allocations: 0 / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003986, allocations: 0 / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.003999, allocations: 0 / 242 MB, free: 0.668 MB / 234.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.000368/0.004367, allocations: 300.2 kB / 242.3 MB, free: 360 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.004396, allocations: 12.03 kB / 242.3 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.004424, allocations: 8.938 kB / 242.4 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.004574, allocations: 160.9 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.004581, allocations: 384 / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.004595, allocations: 8.375 kB / 242.5 MB, free: 148 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.004764, allocations: 127.9 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.00477, allocations: 7.938 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.004778, allocations: 0 / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004782, allocations: 7.938 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.004803, allocations: 11.98 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.004979, allocations: 162.9 kB / 242.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.00505, allocations: 82.36 kB / 242.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.005077, allocations: 35.53 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.005097, allocations: 8 kB / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.00512, allocations: 46.44 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005121, allocations: 0 / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000114/0.005235, allocations: 61.55 kB / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.00529, allocations: 136.5 kB / 243.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.005358, allocations: 138.6 kB / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.005368, allocations: 25.7 kB / 243.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.005397, allocations: 88.62 kB / 243.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.005412, allocations: 7.953 kB / 243.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.005435, allocations: 21.67 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.005508, allocations: 318.8 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.005515, allocations: 4 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.005526, allocations: 9.719 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.00555, allocations: 25.64 kB / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005552, allocations: 0 / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.752e-05/0.00559, allocations: 41.58 kB / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005602, allocations: 12.11 kB / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005606, allocations: 4 kB / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.005613, allocations: 0 / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.005663, allocations: 4 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005666, allocations: 0 / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.005682, allocations: 3.938 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005688, allocations: 7.984 kB / 243.9 MB, free: 14.57 MB / 250.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 5.128e-05/0.005739, allocations: 116.7 kB / 244 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.005779, allocations: 53.56 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.00581, allocations: 15.98 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.005812, allocations: 4 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005814, allocations: 3.938 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005817, allocations: 0 / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.005905, allocations: 81.88 kB / 244.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005906, allocations: 0 / 244.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.005945, allocations: 15.98 kB / 244.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.005974, allocations: 31.86 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005975, allocations: 0 / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.005981, allocations: 4 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005983, allocations: 3.938 kB / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005984, allocations: 4 kB / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.934e-05/0.006053, allocations: 146.1 kB / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006065, allocations: 11.94 kB / 244.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.006098, allocations: 0 / 244.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.006122, allocations: 7.984 kB / 244.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006124, allocations: 0 / 244.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.006148, allocations: 32.02 kB / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006148, allocations: 0 / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001175/0.006265, allocations: 12 kB / 244.4 MB, free: 13.97 MB / 250.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.642e-05/0.006332, allocations: 80.39 kB / 244.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.038e-05/0.006392, allocations: 20.84 kB / 244.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.006396, allocations: 0 / 244.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.006408, allocations: 12.8 kB / 244.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.006604, allocations: 40.58 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.007245, allocations: 212.6 kB / 244.8 MB, free: 13.56 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.007283, allocations: 63.34 kB / 244.8 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.142e-05/0.007305, allocations: 7.984 kB / 244.8 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.007354, allocations: 59.38 kB / 244.9 MB, free: 13.41 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007355, allocations: 0 / 244.9 MB, free: 13.41 MB / 250.7 MB Notification: Performance of Templates: time 0.002292/0.009646, allocations: 0.82 MB / 245.7 MB, free: 12.61 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.593719944357872]