Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.002371/0.002371, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002624/0.002624, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.523/1.523, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 55.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3937, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003247/0.397, allocations: 1.884 MB / 422.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3981, allocations: 0.6384 MB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.3982, allocations: 7.938 kB / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3983, allocations: 27.72 kB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.3984, allocations: 19.81 kB / 423.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.3987, allocations: 111.7 kB / 423.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3989, allocations: 135.6 kB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.399, allocations: 41.72 kB / 423.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.3991, allocations: 63.7 kB / 423.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.3992, allocations: 43.72 kB / 423.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3992, allocations: 12 kB / 423.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.3992, allocations: 12 kB / 423.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.3992, allocations: 35.86 kB / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.3993, allocations: 67.53 kB / 424 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3995, allocations: 145.5 kB / 424.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3995, allocations: 0 / 424.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3995, allocations: 0 / 424.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3995, allocations: 4 kB / 424.1 MB, free: 11.87 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.0005463/0.4, allocations: 454.8 kB / 424.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4001, allocations: 15.89 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.4001, allocations: 24.8 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4004, allocations: 241.9 kB / 424.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4004, allocations: 8.125 kB / 424.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4004, allocations: 12 kB / 424.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.401, allocations: 291.6 kB / 425.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.401, allocations: 0 / 425.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.401, allocations: 8 kB / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.401, allocations: 0 / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.4012, allocations: 79.83 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4016, allocations: 435.4 kB / 425.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.4021, allocations: 286 kB / 425.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.4023, allocations: 104.4 kB / 426 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.4023, allocations: 3.984 kB / 426 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4024, allocations: 42.56 kB / 426.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.4024, allocations: 3.938 kB / 426.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005153/0.4029, allocations: 213.7 kB / 426.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.403, allocations: 196.3 kB / 426.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.4032, allocations: 183 kB / 426.7 MB, free: 9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4032, allocations: 29.7 kB / 426.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4034, allocations: 104.5 kB / 426.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.4034, allocations: 15.89 kB / 426.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.4034, allocations: 37.72 kB / 426.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4036, allocations: 326.8 kB / 427.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.4037, allocations: 27.98 kB / 427.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4038, allocations: 139.4 kB / 427.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.4041, allocations: 170.4 kB / 427.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4041, allocations: 0 / 427.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000335/0.4044, allocations: 177.4 kB / 427.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4045, allocations: 8 kB / 427.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4045, allocations: 4 kB / 427.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4045, allocations: 4 kB / 427.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4046, allocations: 35.92 kB / 427.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4046, allocations: 11.92 kB / 427.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.4047, allocations: 23.83 kB / 427.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4047, allocations: 8.375 kB / 427.8 MB, free: 7.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001333/0.4049, allocations: 141.9 kB / 427.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.4052, allocations: 153.5 kB / 428 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.4052, allocations: 17.41 kB / 428.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4052, allocations: 7.984 kB / 428.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4052, allocations: 4 kB / 428.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4052, allocations: 7.875 kB / 428.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.4056, allocations: 221.5 kB / 428.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4056, allocations: 4.031 kB / 428.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4057, allocations: 35.97 kB / 428.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4057, allocations: 4 kB / 428.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4057, allocations: 4 kB / 428.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.4057, allocations: 7.938 kB / 428.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4057, allocations: 0 / 428.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.4062, allocations: 361.1 kB / 428.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4063, allocations: 116.9 kB / 428.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.4063, allocations: 4 kB / 428.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.4065, allocations: 15.98 kB / 428.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.4065, allocations: 15.88 kB / 428.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.4065, allocations: 8 kB / 428.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4067, allocations: 133.2 kB / 429 MB, free: 6.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4067, allocations: 0 / 429 MB, free: 6.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.407, allocations: 24 kB / 429 MB, free: 6.383 MB / 334.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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001605/0.4072, allocations: 99.25 kB / 429.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4075, allocations: 119.9 kB / 429.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4075, allocations: 0 / 429.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.4075, allocations: 15.92 kB / 429.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.4081, allocations: 101 kB / 429.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.4088, allocations: 335.3 kB / 429.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4092, allocations: 0.7279 MB / 430.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.4093, allocations: 17.55 kB / 430.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4093, allocations: 15.44 kB / 430.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4093, allocations: 3.938 kB / 430.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Templates: time 0.005623/0.415, allocations: 1.823 MB / 432.3 MB, free: 3.086 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.03074314724654]