Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001471/0.001471, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001614/0.001614, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.359/1.359, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.92 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.88 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2918, allocations: 66.08 MB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1909/0.4827, allocations: 164 MB / 0.7221 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.4859, allocations: 1.68 MB / 0.7238 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.4862, allocations: 19.81 kB / 0.7238 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.4868, allocations: 218.5 kB / 0.724 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.4889, allocations: 0.7953 MB / 0.7248 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.4906, allocations: 0.6881 MB / 0.7254 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4922, allocations: 1.162 MB / 0.7266 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.4927, allocations: 282.2 kB / 0.7268 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.4937, allocations: 490.3 kB / 0.7273 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.4942, allocations: 410.3 kB / 0.7277 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.4943, allocations: 44 kB / 0.7277 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4955, allocations: 0.589 MB / 0.7283 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.4957, allocations: 155.5 kB / 0.7285 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.496, allocations: 278.6 kB / 0.7287 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.4974, allocations: 0.9692 MB / 0.7297 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4974, allocations: 0 / 0.7297 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4974, allocations: 0 / 0.7297 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4974, allocations: 0 / 0.7297 GB, free: 7.816 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.001765/0.4992, allocations: 0.8455 MB / 0.7305 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4992, allocations: 12.03 kB / 0.7305 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.4996, allocations: 75.61 kB / 0.7306 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.5002, allocations: 344.9 kB / 0.7309 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.5003, allocations: 88.28 kB / 0.731 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.5004, allocations: 47.94 kB / 0.7311 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.5014, allocations: 0.5127 MB / 0.7316 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5014, allocations: 0 / 0.7316 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.5014, allocations: 20 kB / 0.7316 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.5015, allocations: 20.64 kB / 0.7316 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.5024, allocations: 406.1 kB / 0.732 GB, free: 5.344 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.004026/0.5064, allocations: 2.431 MB / 0.7344 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5075, allocations: 334.7 kB / 0.7347 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.508, allocations: 153.3 kB / 0.7348 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.5081, allocations: 4.281 kB / 0.7348 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007013/0.5088, allocations: 259.9 kB / 0.7351 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.5088, allocations: 0 / 0.7351 GB, free: 1.984 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.2612/0.77, allocations: 3.007 MB / 0.738 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.7701, allocations: 139.3 kB / 0.7381 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.7706, allocations: 385.6 kB / 0.7385 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.7707, allocations: 37.05 kB / 0.7385 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.7709, allocations: 262.8 kB / 0.7388 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.771, allocations: 171.1 kB / 0.739 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.7712, allocations: 126.7 kB / 0.7391 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.7713, allocations: 358.1 kB / 0.7394 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.7719, allocations: 219.4 kB / 0.7396 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.7725, allocations: 404.4 kB / 0.74 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.7736, allocations: 0.6385 MB / 0.7406 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7736, allocations: 0 / 0.7406 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001677/0.7753, allocations: 0.787 MB / 0.7414 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.7753, allocations: 35.22 kB / 0.7414 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7753, allocations: 3.938 kB / 0.7414 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.7757, allocations: 117.5 kB / 0.7416 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.7762, allocations: 138.1 kB / 0.7417 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.7766, allocations: 0.6768 MB / 0.7423 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.7771, allocations: 50.98 kB / 0.7424 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.7772, allocations: 48.09 kB / 0.7424 GB, free: 173.6 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.000227/0.7774, allocations: 200.5 kB / 0.7426 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.7775, allocations: 51.8 kB / 0.7427 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.779, allocations: 0.7334 MB / 0.7434 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.779, allocations: 7.656 kB / 0.7434 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.779, allocations: 0 / 0.7434 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7791, allocations: 3.938 kB / 0.7434 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.7811, allocations: 1.254 MB / 0.7446 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7811, allocations: 0 / 0.7446 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.7815, allocations: 103.9 kB / 0.7447 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/0.782, allocations: 106.9 kB / 0.7448 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.782, allocations: 19.98 kB / 0.7449 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.7833, allocations: 1.712 MB / 0.7465 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7833, allocations: 3.938 kB / 0.7465 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.785, allocations: 0.9713 MB / 0.7475 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.7852, allocations: 91.66 kB / 0.7476 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.7853, allocations: 12 kB / 0.7476 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.7857, allocations: 50.25 kB / 0.7476 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7858, allocations: 59.83 kB / 0.7477 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.7858, allocations: 32 kB / 0.7477 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002178/0.786, allocations: 275.1 kB / 0.748 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.786, allocations: 0 / 0.748 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006766/0.7867, allocations: 235.7 kB / 0.7482 GB, free: 168.6 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.0005166/0.7872, allocations: 284.7 kB / 0.7485 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.7884, allocations: 0.5903 MB / 0.7491 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7885, allocations: 3.062 kB / 0.7491 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.7891, allocations: 393.8 kB / 0.7494 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.79, allocations: 210.2 kB / 0.7496 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.7916, allocations: 1.199 MB / 0.7508 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.7918, allocations: 0.8593 MB / 0.7516 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.792, allocations: 79.42 kB / 0.7517 GB, free: 165 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.792, allocations: 0 / 0.7517 GB, free: 165 MB / 0.5606 GB Notification: Performance of Templates: time 0.01134/0.8034, allocations: 11.71 MB / 0.7631 GB, free: 153.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.226793143898249]