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.001515/0.001515, allocations: 116 kB / 20.43 MB, free: 1.449 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.001849/0.001849, allocations: 214.5 kB / 23.74 MB, free: 4.66 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.738/1.738, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001656/0.001656, allocations: 51.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3286, allocations: 53.37 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004472/0.3331, allocations: 1.635 MB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3346, allocations: 0.5842 MB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3347, allocations: 7.938 kB / 433.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.442e-05/0.3348, allocations: 3.938 kB / 433.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.335, allocations: 15.86 kB / 433.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.3354, allocations: 63.75 kB / 434 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3356, allocations: 51.84 kB / 434 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3357, allocations: 23.92 kB / 434 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3359, allocations: 31.91 kB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.336, allocations: 23.86 kB / 434.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.336, allocations: 4 kB / 434.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/0.336, allocations: 8 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.3361, allocations: 15.92 kB / 434.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3362, allocations: 35.67 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3364, allocations: 68.94 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3364, allocations: 0 / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3364, allocations: 0 / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3364, allocations: 4 kB / 434.2 MB, free: 4.324 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.000642/0.3371, allocations: 313.9 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3371, allocations: 8.031 kB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3373, allocations: 20.88 kB / 434.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.3376, allocations: 150.8 kB / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3376, allocations: 4.375 kB / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3376, allocations: 12.12 kB / 434.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3379, allocations: 130.7 kB / 434.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.338, allocations: 0 / 434.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.338, allocations: 0 / 434.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.338, allocations: 3.984 kB / 434.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.3381, allocations: 31.92 kB / 434.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3385, allocations: 258.5 kB / 435.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3386, allocations: 94.36 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.3387, allocations: 39.55 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3388, allocations: 7.984 kB / 435.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3388, allocations: 42.5 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3388, allocations: 0 / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003129/0.3391, allocations: 93.56 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3392, allocations: 148.9 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3394, allocations: 144.3 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3394, allocations: 25.7 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3395, allocations: 100.1 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3395, allocations: 3.953 kB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3395, allocations: 21.67 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3397, allocations: 322.8 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.3398, allocations: 15.98 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.3398, allocations: 40.3 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3399, allocations: 68.2 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3399, allocations: 0 / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001714/0.3401, allocations: 81.5 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3401, allocations: 8 kB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3401, allocations: 0 / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3402, allocations: 0 / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.3403, allocations: 12 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3403, allocations: 4.156 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.3403, allocations: 15.86 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3403, allocations: 4 kB / 436.4 MB, free: 1.844 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.0001199/0.3404, allocations: 117.8 kB / 436.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3405, allocations: 65.58 kB / 436.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.3406, allocations: 15.92 kB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3406, allocations: 0 / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3406, allocations: 0 / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.3406, allocations: 15.98 kB / 436.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3408, allocations: 144.9 kB / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3408, allocations: 4 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.3409, allocations: 15.98 kB / 436.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3409, allocations: 0 / 436.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3409, allocations: 4 kB / 436.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3409, allocations: 0 / 436.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3409, allocations: 3.984 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.3412, allocations: 205.9 kB / 437 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3412, allocations: 23.86 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3412, allocations: 4 kB / 437 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3413, allocations: 7.984 kB / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3414, allocations: 3.938 kB / 437 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3414, allocations: 4 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3415, allocations: 116.9 kB / 437.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 0 / 437.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3417, allocations: 12 kB / 437.1 MB, free: 1.008 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.0001255/0.3419, allocations: 91.25 kB / 437.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3421, allocations: 51.78 kB / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3421, allocations: 320 / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.3421, allocations: 12 kB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3425, allocations: 42.67 kB / 437.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3429, allocations: 213.8 kB / 437.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3433, allocations: 0.7005 MB / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.3434, allocations: 4 kB / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.3434, allocations: 11.44 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3434, allocations: 0 / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00386/0.3473, allocations: 0.7521 MB / 439 MB, free: 15.08 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 -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/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_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.235127462074161]