Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 164.8 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2035/0.2035, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3066, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1703/0.477, allocations: 141.4 MB / 0.6322 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.4804, allocations: 1.571 MB / 0.6337 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.4807, allocations: 23.81 kB / 0.6338 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.4814, allocations: 202.6 kB / 0.634 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.4835, allocations: 0.8006 MB / 0.6347 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.4852, allocations: 0.6798 MB / 0.6354 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4866, allocations: 1.158 MB / 0.6365 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.487, allocations: 282.2 kB / 0.6368 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.4879, allocations: 498.2 kB / 0.6373 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.4885, allocations: 378.4 kB / 0.6376 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.4885, allocations: 44 kB / 0.6377 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4896, allocations: 495.3 kB / 0.6382 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4898, allocations: 167.4 kB / 0.6383 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.4901, allocations: 231 kB / 0.6385 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.4914, allocations: 0.9616 MB / 0.6395 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4914, allocations: 0 / 0.6395 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4914, allocations: 0 / 0.6395 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4914, allocations: 0 / 0.6395 GB, free: 3.738 MB / 0.5294 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.001767/0.4932, allocations: 0.8417 MB / 0.6403 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4932, allocations: 15.98 kB / 0.6403 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.4936, allocations: 79.61 kB / 0.6404 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.4943, allocations: 336.9 kB / 0.6407 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.4944, allocations: 92.27 kB / 0.6408 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.4945, allocations: 43.95 kB / 0.6408 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.4956, allocations: 0.7503 MB / 0.6416 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4957, allocations: 4 kB / 0.6416 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.4957, allocations: 16 kB / 0.6416 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.4957, allocations: 12.66 kB / 0.6416 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4967, allocations: 406.1 kB / 0.642 GB, free: 0.9883 MB / 0.5294 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.003102/0.4998, allocations: 1.938 MB / 0.6439 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.5007, allocations: 329.7 kB / 0.6442 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.5011, allocations: 157.3 kB / 0.6443 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.5011, allocations: 12.22 kB / 0.6444 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006599/0.5018, allocations: 414.1 kB / 0.6448 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.5018, allocations: 0 / 0.6448 GB, free: 14.02 MB / 0.545 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.01251/0.5143, allocations: 3.018 MB / 0.6477 GB, free: 10.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.5144, allocations: 140.5 kB / 0.6478 GB, free: 10.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.5148, allocations: 377.5 kB / 0.6482 GB, free: 10.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5149, allocations: 37.7 kB / 0.6482 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.5151, allocations: 264.4 kB / 0.6485 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5152, allocations: 162.6 kB / 0.6486 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.5154, allocations: 126.3 kB / 0.6488 GB, free: 9.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5156, allocations: 350.8 kB / 0.6491 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.5163, allocations: 246.8 kB / 0.6493 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/0.5171, allocations: 0.4991 MB / 0.6498 GB, free: 8.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.5186, allocations: 0.6365 MB / 0.6504 GB, free: 7.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5186, allocations: 4 kB / 0.6504 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002037/0.5206, allocations: 0.8209 MB / 0.6512 GB, free: 7.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.5207, allocations: 37.7 kB / 0.6513 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5207, allocations: 8.656 kB / 0.6513 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.5211, allocations: 112.8 kB / 0.6514 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.5217, allocations: 135.8 kB / 0.6515 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006772/0.5224, allocations: 0.6811 MB / 0.6522 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.5228, allocations: 43.95 kB / 0.6522 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.5229, allocations: 48.05 kB / 0.6523 GB, free: 5.941 MB / 0.545 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.0002762/0.5232, allocations: 201.7 kB / 0.6525 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.5233, allocations: 51.7 kB / 0.6525 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.5253, allocations: 0.7264 MB / 0.6532 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5254, allocations: 8 kB / 0.6532 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5254, allocations: 4 kB / 0.6532 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5254, allocations: 3.984 kB / 0.6532 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.528, allocations: 1.126 MB / 0.6543 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.528, allocations: 0 / 0.6543 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.5285, allocations: 103.9 kB / 0.6544 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/0.5291, allocations: 116.9 kB / 0.6546 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.5291, allocations: 27.92 kB / 0.6546 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5312, allocations: 1.671 MB / 0.6562 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5312, allocations: 4.031 kB / 0.6562 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.5337, allocations: 0.9694 MB / 0.6572 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.5339, allocations: 91.58 kB / 0.6573 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.534, allocations: 12 kB / 0.6573 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.5345, allocations: 43.95 kB / 0.6573 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5347, allocations: 67.83 kB / 0.6574 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.5347, allocations: 31.98 kB / 0.6574 GB, free: 484 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003218/0.535, allocations: 259.2 kB / 0.6576 GB, free: 224 kB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.535, allocations: 0 / 0.6576 GB, free: 224 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008832/0.5359, allocations: 231.8 kB / 0.6579 GB, free: 15.99 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.0006801/0.5366, allocations: 282.7 kB / 0.6581 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.5383, allocations: 0.625 MB / 0.6587 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5383, allocations: 0 / 0.6587 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.5393, allocations: 390.4 kB / 0.6591 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5403, allocations: 208.6 kB / 0.6593 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.5426, allocations: 1.161 MB / 0.6605 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5428, allocations: 248.8 kB / 0.6607 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000538/0.5434, allocations: 156.5 kB / 0.6608 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.5436, allocations: 80.41 kB / 0.6609 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5436, allocations: 0 / 0.6609 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.02395/0.5676, allocations: 13.02 MB / 0.6736 GB, free: 15.92 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.530053953058086]