Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 213 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4038, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003295/0.4071, allocations: 1.64 MB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.4083, allocations: 0.5726 MB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.4084, allocations: 4 kB / 432 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.4085, allocations: 7.875 kB / 432 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.4086, allocations: 11.92 kB / 432 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.409, allocations: 71.73 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.4091, allocations: 47.86 kB / 432.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4092, allocations: 23.92 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.4093, allocations: 35.84 kB / 432.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.4094, allocations: 19.86 kB / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4095, allocations: 4 kB / 432.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.4095, allocations: 8 kB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.4096, allocations: 15.92 kB / 432.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.4096, allocations: 39.73 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.4098, allocations: 64.92 kB / 432.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4098, allocations: 0 / 432.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4098, allocations: 0 / 432.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4098, allocations: 0 / 432.4 MB, free: 4.98 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.000545/0.4104, allocations: 395 kB / 432.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4104, allocations: 8.031 kB / 432.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.4106, allocations: 16.89 kB / 432.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.4109, allocations: 216.6 kB / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4109, allocations: 384 / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4109, allocations: 12.12 kB / 433 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.4113, allocations: 134.7 kB / 433.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4113, allocations: 0 / 433.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4113, allocations: 0 / 433.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4113, allocations: 3.938 kB / 433.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.4114, allocations: 27.98 kB / 433.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.4118, allocations: 299.3 kB / 433.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.412, allocations: 94.36 kB / 433.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.412, allocations: 43.55 kB / 433.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4121, allocations: 4 kB / 433.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4121, allocations: 38.5 kB / 433.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4121, allocations: 0 / 433.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003181/0.4124, allocations: 101.5 kB / 433.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4125, allocations: 141 kB / 433.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4127, allocations: 145.4 kB / 434 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4127, allocations: 29.7 kB / 434 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.4128, allocations: 92.08 kB / 434.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.4128, allocations: 7.953 kB / 434.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4128, allocations: 21.66 kB / 434.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.413, allocations: 318.8 kB / 434.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.413, allocations: 15.98 kB / 434.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.4131, allocations: 44.28 kB / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.4133, allocations: 68.16 kB / 434.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4133, allocations: 0 / 434.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001553/0.4134, allocations: 77.56 kB / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4134, allocations: 8 kB / 434.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4134, allocations: 0 / 434.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4134, allocations: 0 / 434.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.4135, allocations: 19.92 kB / 434.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4135, allocations: 4.141 kB / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.4136, allocations: 11.94 kB / 434.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.4136, allocations: 7.938 kB / 434.7 MB, free: 2.285 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.0001012/0.4137, allocations: 121.8 kB / 434.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.4138, allocations: 57.59 kB / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.4139, allocations: 19.81 kB / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4139, allocations: 0 / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4139, allocations: 0 / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.4139, allocations: 12 kB / 434.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4141, allocations: 177.6 kB / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4141, allocations: 0 / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.4142, allocations: 16.06 kB / 435.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4142, allocations: 0 / 435.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4142, allocations: 7.984 kB / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4142, allocations: 4 kB / 435.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4142, allocations: 0 / 435.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.4144, allocations: 205.9 kB / 435.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.4145, allocations: 96.98 kB / 435.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4145, allocations: 4 kB / 435.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.4146, allocations: 4 kB / 435.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4146, allocations: 7.922 kB / 435.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4146, allocations: 4 kB / 435.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.4147, allocations: 118.6 kB / 435.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4147, allocations: 4 kB / 435.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.415, allocations: 4 kB / 435.6 MB, free: 1.324 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.000141/0.4151, allocations: 99.19 kB / 435.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4153, allocations: 39.92 kB / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4153, allocations: 320 / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.4153, allocations: 19.98 kB / 435.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.4157, allocations: 31.94 kB / 435.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.4162, allocations: 217.5 kB / 436 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.4166, allocations: 0.6966 MB / 436.7 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.4166, allocations: 0 / 436.7 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.4167, allocations: 15.42 kB / 436.7 MB, free: 148 kB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4167, allocations: 0 / 436.7 MB, free: 148 kB / 334.1 MB Notification: Performance of Templates: time 0.003875/0.4206, allocations: 0.7409 MB / 437.4 MB, free: 15.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.091346051543951]