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.001426/0.001426, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.00157/0.00157, allocations: 210.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.624/1.624, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001729/0.001729, allocations: 39.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4055, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.0043/0.4098, allocations: 1.625 MB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4113, allocations: 0.5298 MB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.4114, allocations: 7.938 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.4114, allocations: 7.922 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.4116, allocations: 11.88 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.412, allocations: 67.73 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4122, allocations: 55.78 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.4124, allocations: 12 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.4126, allocations: 39.78 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.4127, allocations: 27.86 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4127, allocations: 0 / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.4127, allocations: 8 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.4128, allocations: 15.92 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.4129, allocations: 31.8 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4131, allocations: 70.33 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4131, allocations: 0 / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4131, allocations: 0 / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4131, allocations: 0 / 434.8 MB, free: 4.199 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.0007318/0.4138, allocations: 309.9 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4139, allocations: 12.03 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.4141, allocations: 20.88 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.4145, allocations: 150.8 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4145, allocations: 4.375 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.4146, allocations: 8.125 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.415, allocations: 126.8 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.415, allocations: 7.938 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.415, allocations: 0 / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.415, allocations: 0 / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4152, allocations: 27.92 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.4156, allocations: 239 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4158, allocations: 94.3 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4159, allocations: 47.55 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.416, allocations: 0 / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.416, allocations: 42.5 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.416, allocations: 0 / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003941/0.4164, allocations: 101.5 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.4166, allocations: 132.5 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4168, allocations: 149.4 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4168, allocations: 26.2 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4169, allocations: 100.1 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.4169, allocations: 7.938 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.417, allocations: 25.67 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4172, allocations: 318.8 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.4173, allocations: 15.98 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.4174, allocations: 44.28 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4175, allocations: 60.22 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4175, allocations: 4 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001896/0.4177, allocations: 81.5 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4177, allocations: 8 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4177, allocations: 128 / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.4177, allocations: 4 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4179, allocations: 20.08 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4179, allocations: 4 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.4179, allocations: 4 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4179, allocations: 7.938 kB / 437 MB, free: 1.754 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.000131/0.4181, allocations: 117.8 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4182, allocations: 61.59 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.4183, allocations: 15.91 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4183, allocations: 4 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4183, allocations: 0 / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4183, allocations: 7.938 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.4185, allocations: 129.3 kB / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4185, allocations: 0 / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.4186, allocations: 8 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4186, allocations: 4 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4186, allocations: 3.984 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4186, allocations: 4 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4186, allocations: 3.984 kB / 437.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4189, allocations: 205.9 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.419, allocations: 23.88 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.419, allocations: 4 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.4191, allocations: 4 kB / 437.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.4191, allocations: 7.938 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4191, allocations: 3.984 kB / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.4193, allocations: 115.2 kB / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4193, allocations: 0 / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.4195, allocations: 8 kB / 437.7 MB, free: 0.9609 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.0002149/0.4197, allocations: 103.2 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4199, allocations: 43.92 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4199, allocations: 0 / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.42, allocations: 15.98 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.4205, allocations: 38.52 kB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.421, allocations: 193.9 kB / 438.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4211, allocations: 91.94 kB / 438.2 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.4212, allocations: 12.06 kB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.4212, allocations: 11.44 kB / 438.2 MB, free: 408 kB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4212, allocations: 0 / 438.2 MB, free: 408 kB / 334.1 MB Notification: Performance of Templates: time 0.00489/0.4261, allocations: 0.8493 MB / 439.1 MB, free: 15.57 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.2548123840097105]