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.001379/0.001379, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001551/0.001551, allocations: 215.6 kB / 22.99 MB, free: 4.602 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.555/1.555, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2257/0.2257, allocations: 44.27 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.002319/0.002319, allocations: 68.28 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1373, allocations: 61.05 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4842/0.6215, allocations: 141 MB / 0.6543 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.6286, allocations: 3.824 MB / 0.658 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.6292, allocations: 23.81 kB / 0.6581 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.6301, allocations: 202.6 kB / 0.6583 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.6334, allocations: 0.8559 MB / 0.6591 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.6357, allocations: 0.678 MB / 0.6598 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.6378, allocations: 1.154 MB / 0.6609 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.6385, allocations: 285.9 kB / 0.6612 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6399, allocations: 481.5 kB / 0.6616 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009487/0.6408, allocations: 382.4 kB / 0.662 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.641, allocations: 44 kB / 0.662 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.6426, allocations: 0.5148 MB / 0.6625 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.6429, allocations: 159.5 kB / 0.6627 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.6433, allocations: 235 kB / 0.6629 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.6455, allocations: 0.9733 MB / 0.6639 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6455, allocations: 0 / 0.6639 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6455, allocations: 4 kB / 0.6639 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.624e-05/0.6456, allocations: 0 / 0.6639 GB, free: 11.35 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.002547/0.6481, allocations: 0.83 MB / 0.6647 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6482, allocations: 12.03 kB / 0.6647 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.6487, allocations: 79.64 kB / 0.6648 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.6496, allocations: 360.8 kB / 0.6651 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6497, allocations: 80.41 kB / 0.6652 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.6498, allocations: 36 kB / 0.6652 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.651, allocations: 0.7754 MB / 0.666 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.651, allocations: 0 / 0.666 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.6511, allocations: 21.48 kB / 0.666 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.6511, allocations: 20.59 kB / 0.666 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.6521, allocations: 406.2 kB / 0.6664 GB, free: 8.582 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.003314/0.6554, allocations: 1.939 MB / 0.6683 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.6562, allocations: 328 kB / 0.6686 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.6566, allocations: 153.3 kB / 0.6687 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.6567, allocations: 4.281 kB / 0.6688 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.6575, allocations: 449.3 kB / 0.6692 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.6575, allocations: 0 / 0.6692 GB, free: 5.582 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.01289/0.6704, allocations: 3.018 MB / 0.6721 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.6705, allocations: 170.1 kB / 0.6723 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.671, allocations: 377.5 kB / 0.6726 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.6711, allocations: 33.7 kB / 0.6727 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.6713, allocations: 264.4 kB / 0.6729 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.6715, allocations: 162.6 kB / 0.6731 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.6717, allocations: 122.3 kB / 0.6732 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.6719, allocations: 366.7 kB / 0.6736 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.6725, allocations: 246.8 kB / 0.6738 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/0.6734, allocations: 0.5211 MB / 0.6743 GB, free: 84 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.6749, allocations: 0.6403 MB / 0.6749 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6749, allocations: 4 kB / 0.6749 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001977/0.6769, allocations: 0.8161 MB / 0.6757 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.6769, allocations: 41.81 kB / 0.6758 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.6769, allocations: 8 kB / 0.6758 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.6774, allocations: 116.7 kB / 0.6759 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.678, allocations: 135.8 kB / 0.676 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006703/0.6786, allocations: 0.6734 MB / 0.6767 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.6792, allocations: 53.33 kB / 0.6767 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.6792, allocations: 47.98 kB / 0.6768 GB, free: 13.43 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.0003343/0.6796, allocations: 190.6 kB / 0.6769 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.6797, allocations: 47.72 kB / 0.677 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.6817, allocations: 0.7447 MB / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6817, allocations: 4 kB / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6817, allocations: 0 / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6818, allocations: 3.984 kB / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.6844, allocations: 1.121 MB / 0.6788 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6844, allocations: 0 / 0.6788 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.6849, allocations: 108 kB / 0.6789 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/0.6855, allocations: 104.7 kB / 0.679 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.6855, allocations: 17.19 kB / 0.679 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.6875, allocations: 1.691 MB / 0.6807 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6875, allocations: 0 / 0.6807 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.69, allocations: 0.9789 MB / 0.6817 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.6903, allocations: 83.72 kB / 0.6817 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.6904, allocations: 15.94 kB / 0.6817 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.6909, allocations: 51.89 kB / 0.6818 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.691, allocations: 59.91 kB / 0.6819 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.6911, allocations: 39.92 kB / 0.6819 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003204/0.6914, allocations: 255.2 kB / 0.6821 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6914, allocations: 0 / 0.6821 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009415/0.6924, allocations: 243.7 kB / 0.6824 GB, free: 7.477 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.001046/0.6934, allocations: 318.6 kB / 0.6827 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.6953, allocations: 0.6127 MB / 0.6833 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6953, allocations: 0 / 0.6833 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.6962, allocations: 407.4 kB / 0.6837 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6974, allocations: 194.6 kB / 0.6838 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.6999, allocations: 1.164 MB / 0.685 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.7002, allocations: 260.9 kB / 0.6852 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005739/0.7008, allocations: 156.4 kB / 0.6854 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.701, allocations: 71.42 kB / 0.6854 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.701, allocations: 0 / 0.6854 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of Templates: time 0.02652/0.7275, allocations: 14.05 MB / 0.6992 GB, free: 6.211 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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: 6.236116223037243]