Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001409/0.001409, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 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.001775/0.001775, allocations: 207.7 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002265/0.002265, allocations: 71.91 kB / 468.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1149, allocations: 61.04 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3966/0.5116, allocations: 141 MB / 0.655 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.5186, allocations: 3.824 MB / 0.6588 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.5192, allocations: 19.81 kB / 0.6588 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.52, allocations: 206.6 kB / 0.659 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.5228, allocations: 0.8567 MB / 0.6598 GB, free: 48 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.5249, allocations: 0.6791 MB / 0.6605 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.5267, allocations: 1.162 MB / 0.6616 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.5273, allocations: 274 kB / 0.6619 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5284, allocations: 485.5 kB / 0.6623 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.5291, allocations: 382.4 kB / 0.6627 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.5292, allocations: 48 kB / 0.6628 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.5306, allocations: 0.5109 MB / 0.6633 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.5308, allocations: 163.4 kB / 0.6634 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.5312, allocations: 223.1 kB / 0.6636 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.5329, allocations: 0.9731 MB / 0.6646 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5329, allocations: 0 / 0.6646 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5329, allocations: 0 / 0.6646 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.533, allocations: 3.984 kB / 0.6646 GB, free: 11.16 MB / 0.4981 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.002183/0.5351, allocations: 0.8416 MB / 0.6654 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5352, allocations: 12.03 kB / 0.6654 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.5356, allocations: 71.66 kB / 0.6655 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.5364, allocations: 352.8 kB / 0.6658 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5365, allocations: 84.39 kB / 0.6659 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.5366, allocations: 47.92 kB / 0.6659 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5378, allocations: 0.7792 MB / 0.6667 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.5378, allocations: 3.938 kB / 0.6667 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.5379, allocations: 20 kB / 0.6667 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.5379, allocations: 12.66 kB / 0.6667 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.5389, allocations: 398.2 kB / 0.6671 GB, free: 8.387 MB / 0.4981 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.00323/0.5421, allocations: 1.947 MB / 0.669 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.543, allocations: 333.2 kB / 0.6693 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.5433, allocations: 149.3 kB / 0.6695 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.5434, allocations: 4.281 kB / 0.6695 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006931/0.5441, allocations: 448.2 kB / 0.6699 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.5441, allocations: 0 / 0.6699 GB, free: 5.379 MB / 0.4981 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.01242/0.5565, allocations: 3.03 MB / 0.6729 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.5566, allocations: 158.2 kB / 0.673 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.5571, allocations: 377.5 kB / 0.6734 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.5572, allocations: 37.7 kB / 0.6734 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.5574, allocations: 260.4 kB / 0.6737 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5576, allocations: 170.6 kB / 0.6738 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5578, allocations: 122.3 kB / 0.6739 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.5579, allocations: 362.7 kB / 0.6743 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.5586, allocations: 242.8 kB / 0.6745 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.5594, allocations: 0.5289 MB / 0.675 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.5608, allocations: 0.6355 MB / 0.6757 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5608, allocations: 4 kB / 0.6757 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002115/0.563, allocations: 0.8156 MB / 0.6765 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.563, allocations: 33.7 kB / 0.6765 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.563, allocations: 8 kB / 0.6765 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/0.5635, allocations: 117.4 kB / 0.6766 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.5641, allocations: 143.8 kB / 0.6768 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006802/0.5647, allocations: 0.6617 MB / 0.6774 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.5653, allocations: 55.88 kB / 0.6775 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.5654, allocations: 44 kB / 0.6775 GB, free: 13.23 MB / 0.5137 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.0003671/0.5657, allocations: 198.7 kB / 0.6777 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5659, allocations: 43.72 kB / 0.6777 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.5679, allocations: 0.7415 MB / 0.6784 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.5679, allocations: 11.92 kB / 0.6785 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5679, allocations: 0 / 0.6785 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5679, allocations: 0 / 0.6785 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.5706, allocations: 1.132 MB / 0.6796 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5706, allocations: 0 / 0.6796 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.5711, allocations: 107.8 kB / 0.6797 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005609/0.5716, allocations: 100.9 kB / 0.6798 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.5717, allocations: 15.98 kB / 0.6798 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.5737, allocations: 1.691 MB / 0.6814 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5737, allocations: 8.016 kB / 0.6814 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.5761, allocations: 0.975 MB / 0.6824 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.5765, allocations: 83.72 kB / 0.6825 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5766, allocations: 15.95 kB / 0.6825 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.5771, allocations: 47.88 kB / 0.6825 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.5773, allocations: 63.09 kB / 0.6826 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.5774, allocations: 39.98 kB / 0.6826 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003745/0.5777, allocations: 255.2 kB / 0.6829 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5777, allocations: 0 / 0.6829 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008903/0.5786, allocations: 243.6 kB / 0.6831 GB, free: 7.27 MB / 0.5137 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.0009449/0.5796, allocations: 310.7 kB / 0.6834 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.5813, allocations: 0.6123 MB / 0.684 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5813, allocations: 0 / 0.684 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.5822, allocations: 412.1 kB / 0.6844 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5833, allocations: 202.9 kB / 0.6846 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5858, allocations: 1.185 MB / 0.6857 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5861, allocations: 256.9 kB / 0.686 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.5864, allocations: 83.41 kB / 0.6861 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.5864, allocations: 0 / 0.6861 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of Templates: time 0.02048/0.6069, allocations: 11.91 MB / 0.6977 GB, free: 8.23 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.212218566797674]