Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.001313/0.001313, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001424/0.001424, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.89 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Warning: Requested package Modelica 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.002327/0.002327, allocations: 75.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.205/0.5197, allocations: 164 MB / 0.7214 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.5233, allocations: 1.688 MB / 0.723 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004946/0.5238, allocations: 11.94 kB / 0.723 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007827/0.5246, allocations: 214.6 kB / 0.7232 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.527, allocations: 0.7966 MB / 0.724 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.5288, allocations: 0.6806 MB / 0.7247 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.5305, allocations: 1.15 MB / 0.7258 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.5311, allocations: 294 kB / 0.7261 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.5322, allocations: 478.2 kB / 0.7265 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.5329, allocations: 410.4 kB / 0.7269 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5331, allocations: 44 kB / 0.727 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.5344, allocations: 0.5812 MB / 0.7275 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.5347, allocations: 155.5 kB / 0.7277 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.5351, allocations: 274.7 kB / 0.7279 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.5369, allocations: 0.9733 MB / 0.7289 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5369, allocations: 0 / 0.7289 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5369, allocations: 0 / 0.7289 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.5369, allocations: 0 / 0.7289 GB, free: 8.676 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001994/0.5389, allocations: 0.9208 MB / 0.7298 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5389, allocations: 8.031 kB / 0.7298 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.5393, allocations: 83.59 kB / 0.7299 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.54, allocations: 410.7 kB / 0.7303 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.5401, allocations: 70.62 kB / 0.7303 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.5402, allocations: 39.95 kB / 0.7304 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5413, allocations: 0.5205 MB / 0.7309 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5413, allocations: 4 kB / 0.7309 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.5413, allocations: 16 kB / 0.7309 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.5414, allocations: 24.59 kB / 0.7309 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009547/0.5423, allocations: 402.2 kB / 0.7313 GB, free: 6.055 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.5459, allocations: 2.458 MB / 0.7337 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.5468, allocations: 341.9 kB / 0.734 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.5472, allocations: 145.3 kB / 0.7342 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.5473, allocations: 4.281 kB / 0.7342 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/0.5479, allocations: 272.8 kB / 0.7344 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/0.5479, allocations: 0 / 0.7344 GB, free: 2.645 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.2485/0.7964, allocations: 3.239 MB / 0.7376 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7965, allocations: 162.4 kB / 0.7378 GB, free: 177 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.7971, allocations: 389.1 kB / 0.7381 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.7971, allocations: 40.42 kB / 0.7382 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7973, allocations: 262.8 kB / 0.7384 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7974, allocations: 166.3 kB / 0.7386 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.7977, allocations: 126.3 kB / 0.7387 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7978, allocations: 357 kB / 0.739 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.7985, allocations: 220.2 kB / 0.7392 GB, free: 176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/0.7992, allocations: 412.4 kB / 0.7396 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.8005, allocations: 0.6303 MB / 0.7403 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8005, allocations: 3.844 kB / 0.7403 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001806/0.8023, allocations: 0.8019 MB / 0.741 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.8023, allocations: 38.5 kB / 0.7411 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8023, allocations: 3.969 kB / 0.7411 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.8027, allocations: 116 kB / 0.7412 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.8033, allocations: 134.5 kB / 0.7413 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004145/0.8037, allocations: 0.6819 MB / 0.742 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.8042, allocations: 44.39 kB / 0.742 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.8042, allocations: 45.8 kB / 0.7421 GB, free: 174.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.8045, allocations: 204.1 kB / 0.7423 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.8045, allocations: 59.33 kB / 0.7423 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.8063, allocations: 0.7237 MB / 0.743 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8063, allocations: 7.844 kB / 0.743 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8063, allocations: 2.938 kB / 0.743 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.8063, allocations: 3.797 kB / 0.743 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.8085, allocations: 1.279 MB / 0.7443 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8085, allocations: 0 / 0.7443 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.809, allocations: 111.6 kB / 0.7444 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/0.8095, allocations: 102.9 kB / 0.7445 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.8095, allocations: 15.47 kB / 0.7445 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.8109, allocations: 1.817 MB / 0.7463 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8109, allocations: 7.969 kB / 0.7463 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.8129, allocations: 0.9859 MB / 0.7473 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.8131, allocations: 156.8 kB / 0.7474 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.8132, allocations: 16 kB / 0.7474 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.8136, allocations: 39.95 kB / 0.7475 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8138, allocations: 67.75 kB / 0.7475 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.8138, allocations: 35.98 kB / 0.7476 GB, free: 170 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002144/0.814, allocations: 279.1 kB / 0.7478 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.814, allocations: 0 / 0.7478 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006987/0.8147, allocations: 231.7 kB / 0.748 GB, free: 169.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006584/0.8154, allocations: 297.9 kB / 0.7483 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.8167, allocations: 0.5836 MB / 0.7489 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8167, allocations: 4 kB / 0.7489 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.8175, allocations: 399.6 kB / 0.7493 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.8185, allocations: 219 kB / 0.7495 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.82, allocations: 1.168 MB / 0.7506 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.8203, allocations: 0.8592 MB / 0.7515 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.8207, allocations: 156.6 kB / 0.7516 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.8209, allocations: 71.42 kB / 0.7517 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.8209, allocations: 0 / 0.7517 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01753/0.8384, allocations: 13.65 MB / 0.765 GB, free: 152.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.965380338020623]