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.Sample3.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.005751/0.005751, allocations: 112 kB / 21.98 MB, free: 5.184 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.001382/0.001382, allocations: 220.3 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.552/1.552, allocations: 230.6 MB / 259 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-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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [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.002048/0.002048, allocations: 71.89 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3987, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003606/0.4023, allocations: 1.72 MB / 434.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.4028, allocations: 171.3 kB / 435.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.4029, allocations: 4 kB / 435.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.403, allocations: 11.86 kB / 435.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.4031, allocations: 7.938 kB / 435.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.4034, allocations: 51.83 kB / 435.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.4035, allocations: 51.89 kB / 435.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4037, allocations: 19.98 kB / 435.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.4037, allocations: 27.86 kB / 435.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.4038, allocations: 19.86 kB / 435.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4038, allocations: 4 kB / 435.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.4038, allocations: 8 kB / 435.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.4039, allocations: 23.92 kB / 435.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.4039, allocations: 31.73 kB / 435.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.4041, allocations: 72.86 kB / 435.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4041, allocations: 4 kB / 435.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4041, allocations: 0 / 435.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4041, allocations: 0 / 435.4 MB, free: 4.766 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000611/0.4047, allocations: 313.9 kB / 435.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4048, allocations: 8.031 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.4048, allocations: 12.89 kB / 435.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4051, allocations: 146.3 kB / 435.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4051, allocations: 4.375 kB / 435.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4052, allocations: 4.375 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.4056, allocations: 171.5 kB / 436 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4056, allocations: 192 / 436 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.4056, allocations: 7.938 kB / 436.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4056, allocations: 0 / 436.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.4057, allocations: 39.91 kB / 436.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.4062, allocations: 336.9 kB / 436.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.4065, allocations: 115.7 kB / 436.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.4066, allocations: 58.67 kB / 436.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4066, allocations: 4 kB / 436.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4066, allocations: 34.56 kB / 436.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4066, allocations: 0 / 436.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003674/0.407, allocations: 125.5 kB / 436.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.4071, allocations: 107.1 kB / 436.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4072, allocations: 137.3 kB / 437 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4073, allocations: 33.7 kB / 437 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.4073, allocations: 88.12 kB / 437.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4074, allocations: 7.953 kB / 437.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.4074, allocations: 21.72 kB / 437.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4076, allocations: 322.8 kB / 437.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.4076, allocations: 11.98 kB / 437.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.4077, allocations: 75.66 kB / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4079, allocations: 103.5 kB / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4079, allocations: 0 / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.4081, allocations: 117.4 kB / 437.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4081, allocations: 4 kB / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4081, allocations: 4 kB / 437.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4081, allocations: 0 / 437.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.4082, allocations: 16 kB / 437.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4082, allocations: 7.984 kB / 437.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.4083, allocations: 16.17 kB / 437.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4083, allocations: 4 kB / 437.8 MB, free: 2.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001264/0.4084, allocations: 129.7 kB / 437.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4085, allocations: 78.09 kB / 438 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.4086, allocations: 16.7 kB / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.4086, allocations: 0 / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4086, allocations: 0 / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4086, allocations: 3.984 kB / 438 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.4089, allocations: 160.6 kB / 438.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4089, allocations: 4 kB / 438.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.409, allocations: 23.92 kB / 438.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.409, allocations: 192 / 438.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.409, allocations: 4 kB / 438.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.409, allocations: 3.938 kB / 438.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.409, allocations: 80 / 438.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.4094, allocations: 324.2 kB / 438.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.4095, allocations: 19.94 kB / 438.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4095, allocations: 11.92 kB / 438.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.4096, allocations: 4 kB / 438.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.4096, allocations: 4 kB / 438.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.4096, allocations: 0 / 438.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.4097, allocations: 111.2 kB / 438.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4097, allocations: 4 kB / 438.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.41, allocations: 8 kB / 438.7 MB, free: 1.086 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001205/0.4101, allocations: 95.25 kB / 438.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.4103, allocations: 59.84 kB / 438.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4103, allocations: 0.5625 kB / 438.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.4103, allocations: 19.94 kB / 438.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4108, allocations: 43.92 kB / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.4112, allocations: 221.4 kB / 439.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4116, allocations: 0.701 MB / 439.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.4117, allocations: 11.44 kB / 439.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4117, allocations: 128 / 439.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.002926/0.4146, allocations: 0.9146 MB / 440.8 MB, free: 14.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.1157761190552264]