Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.007331/0.007331, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.001583/0.001583, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.89 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3847, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004366/0.3891, allocations: 1.903 MB / 435.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3907, allocations: 0.7051 MB / 435.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3908, allocations: 7.938 kB / 435.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.391, allocations: 27.73 kB / 435.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3912, allocations: 27.78 kB / 435.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3916, allocations: 114.8 kB / 436 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.3918, allocations: 147.5 kB / 436.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.392, allocations: 45.89 kB / 436.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3922, allocations: 67.7 kB / 436.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3923, allocations: 47.72 kB / 436.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3923, allocations: 8 kB / 436.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.055e-05/0.3924, allocations: 20 kB / 436.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3924, allocations: 35.91 kB / 436.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.3925, allocations: 59.55 kB / 436.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3928, allocations: 157.5 kB / 436.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3928, allocations: 3.938 kB / 436.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3928, allocations: 3.938 kB / 436.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3928, allocations: 0 / 436.5 MB, free: 3.605 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006727/0.3935, allocations: 377.7 kB / 436.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3935, allocations: 8.031 kB / 436.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.3938, allocations: 32.84 kB / 436.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.3941, allocations: 194.2 kB / 437.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.3942, allocations: 12.12 kB / 437.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3942, allocations: 4 kB / 437.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.3948, allocations: 274.3 kB / 437.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3948, allocations: 3.938 kB / 437.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3948, allocations: 12 kB / 437.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3948, allocations: 0 / 437.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3951, allocations: 75.88 kB / 437.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.3956, allocations: 394.5 kB / 437.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3961, allocations: 205 kB / 438.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.3964, allocations: 108.3 kB / 438.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.3964, allocations: 0 / 438.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3964, allocations: 46.55 kB / 438.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.3964, allocations: 3.938 kB / 438.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006256/0.3971, allocations: 209.6 kB / 438.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.3972, allocations: 200.3 kB / 438.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3974, allocations: 187.7 kB / 438.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3974, allocations: 29.7 kB / 438.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.3975, allocations: 104 kB / 439 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3976, allocations: 15.97 kB / 439 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3977, allocations: 41.66 kB / 439 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3978, allocations: 322.8 kB / 439.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.3979, allocations: 31.92 kB / 439.4 MB, free: 496 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3981, allocations: 129.4 kB / 439.5 MB, free: 316 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.3983, allocations: 165.6 kB / 439.7 MB, free: 100 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3983, allocations: 4 kB / 439.7 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002932/0.3986, allocations: 165.7 kB / 439.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3986, allocations: 11.94 kB / 439.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3986, allocations: 4 kB / 439.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3986, allocations: 4 kB / 439.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3988, allocations: 31.92 kB / 439.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.3988, allocations: 15.92 kB / 439.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.3989, allocations: 4 kB / 439.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3989, allocations: 12 kB / 439.9 MB, free: 15.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001353/0.399, allocations: 129.8 kB / 440 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.3993, allocations: 161.3 kB / 440.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.3994, allocations: 17.41 kB / 440.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3994, allocations: 4 kB / 440.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3994, allocations: 0 / 440.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3994, allocations: 3.984 kB / 440.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.3997, allocations: 188.6 kB / 440.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3997, allocations: 4 kB / 440.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3999, allocations: 35.91 kB / 440.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3999, allocations: 12.2 kB / 440.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.3999, allocations: 4 kB / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3999, allocations: 0 / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3999, allocations: 4 kB / 440.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.4004, allocations: 365.1 kB / 440.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4004, allocations: 31.89 kB / 440.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4005, allocations: 3.938 kB / 440.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.4006, allocations: 16.08 kB / 440.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.4006, allocations: 7.922 kB / 440.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4006, allocations: 8 kB / 440.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4008, allocations: 132.4 kB / 441 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4008, allocations: 0 / 441 MB, free: 14.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.4011, allocations: 20 kB / 441 MB, free: 14.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0001219/0.4012, allocations: 103.2 kB / 441.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4015, allocations: 120.5 kB / 441.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4015, allocations: 3.938 kB / 441.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.4016, allocations: 15.98 kB / 441.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.4022, allocations: 95.91 kB / 441.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.4032, allocations: 396 kB / 441.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.4036, allocations: 0.7242 MB / 442.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.4037, allocations: 19.44 kB / 442.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4037, allocations: 0 / 442.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004107/0.4078, allocations: 1.79 MB / 444.3 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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: 7.34394080308266]