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.HoldWithDAeffects2.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.001389/0.001389, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00168/0.00168, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.601/1.601, allocations: 230.6 MB / 258.2 MB, free: 8.02 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [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.00202/0.00202, allocations: 64.77 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004436/0.3847, allocations: 1.9 MB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3866, allocations: 0.7129 MB / 435 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.3869, allocations: 7.938 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3871, allocations: 19.73 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.3873, allocations: 23.8 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.3879, allocations: 115.6 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.3882, allocations: 143.6 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.3884, allocations: 53.89 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3886, allocations: 71.64 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3887, allocations: 47.66 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3888, allocations: 12 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.3888, allocations: 20 kB / 435.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.3889, allocations: 27.92 kB / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.389, allocations: 71.47 kB / 435.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.3893, allocations: 141 kB / 435.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3893, allocations: 4 kB / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3893, allocations: 0 / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3894, allocations: 4 kB / 435.8 MB, free: 3.598 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.0008065/0.3902, allocations: 385.6 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3902, allocations: 8.031 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.3904, allocations: 24.83 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.3909, allocations: 198.2 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3909, allocations: 12.12 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3909, allocations: 4 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.3916, allocations: 284.2 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3916, allocations: 0 / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3916, allocations: 8 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.3916, allocations: 0 / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.3918, allocations: 67.89 kB / 436.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.3925, allocations: 406.5 kB / 437.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.393, allocations: 205 kB / 437.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3932, allocations: 108.3 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3932, allocations: 4 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3933, allocations: 38.55 kB / 437.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3933, allocations: 3.938 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000606/0.3939, allocations: 225.4 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.394, allocations: 192 kB / 437.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3943, allocations: 191.7 kB / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3943, allocations: 30.08 kB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.3944, allocations: 108.4 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.3944, allocations: 15.94 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.3945, allocations: 41.66 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3946, allocations: 322.8 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3948, allocations: 27.98 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3949, allocations: 142 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.3952, allocations: 174.4 kB / 438.9 MB, free: 40 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3952, allocations: 7.938 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004097/0.3956, allocations: 173.2 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3956, allocations: 4.531 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3956, allocations: 4 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.3956, allocations: 12 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3958, allocations: 39.92 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3958, allocations: 7.938 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3959, allocations: 19.88 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.3959, allocations: 12 kB / 439.2 MB, free: 15.76 MB / 350.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.0001356/0.3961, allocations: 133.7 kB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.3964, allocations: 149.5 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.3964, allocations: 17.41 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3964, allocations: 4 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3964, allocations: 0 / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3964, allocations: 11.92 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3968, allocations: 192.6 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3968, allocations: 0 / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3969, allocations: 35.97 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3969, allocations: 7.938 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3969, allocations: 4 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3969, allocations: 11.97 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3969, allocations: 0 / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.3974, allocations: 361.1 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.3975, allocations: 31.84 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3975, allocations: 11.98 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3977, allocations: 4 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3977, allocations: 15.92 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3977, allocations: 4 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3978, allocations: 140.4 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3978, allocations: 0 / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000343/0.3982, allocations: 20 kB / 440.3 MB, free: 14.54 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: 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.0001401/0.3983, allocations: 107.2 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.3987, allocations: 116.8 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3987, allocations: 0 / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.3988, allocations: 16.06 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.3995, allocations: 107.8 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.4002, allocations: 323.4 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.4006, allocations: 0.7283 MB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4007, allocations: 25.53 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.4007, allocations: 19.44 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4007, allocations: 0 / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005585/0.4063, allocations: 1.849 MB / 443.6 MB, free: 11.21 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.991199208423495]