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.001433/0.001433, allocations: 92.2 kB / 20.21 MB, free: 4.199 MB / 18.57 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.001482/0.001482, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.449/1.449, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 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.2179/0.2179, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 4 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.215e-05, allocations: 6.25 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3915/0.3915, allocations: 141 MB / 487.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.3974, allocations: 3.814 MB / 491.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.3981, allocations: 26.53 kB / 491.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.3988, allocations: 199.2 kB / 491.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.4013, allocations: 0.8729 MB / 492.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.403, allocations: 0.701 MB / 493.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4044, allocations: 1.171 MB / 494.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.4048, allocations: 295.8 kB / 495 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.4057, allocations: 0.6126 MB / 495.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.4062, allocations: 345.7 kB / 495.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.4063, allocations: 44.5 kB / 496 MB, free: 6.562 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4074, allocations: 0.5258 MB / 496.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4076, allocations: 163 kB / 496.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.4078, allocations: 192.9 kB / 496.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.4091, allocations: 1.05 MB / 497.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4091, allocations: 0 / 497.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4091, allocations: 0 / 497.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4091, allocations: 2.531 kB / 497.9 MB, free: 5.52 MB / 362.7 MB 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.001796/0.4109, allocations: 0.8356 MB / 498.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.411, allocations: 10.59 kB / 498.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.4115, allocations: 126.4 kB / 498.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.412, allocations: 366.2 kB / 499.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.4121, allocations: 83.03 kB / 499.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.4122, allocations: 52.16 kB / 499.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.4131, allocations: 0.769 MB / 0.4884 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4131, allocations: 4 kB / 0.4884 GB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.4132, allocations: 20.91 kB / 0.4884 GB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.4132, allocations: 18.05 kB / 0.4884 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.4141, allocations: 402.9 kB / 0.4888 GB, free: 3.535 MB / 362.7 MB 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.002649/0.4167, allocations: 1.951 MB / 0.4907 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.4175, allocations: 333.9 kB / 0.491 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.4179, allocations: 146.3 kB / 0.4912 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.4179, allocations: 14.11 kB / 0.4912 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005557/0.4185, allocations: 445.9 kB / 0.4916 GB, free: 1.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.534e-06/0.4185, allocations: 0 / 0.4916 GB, free: 1.277 MB / 362.7 MB 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.01153/0.43, allocations: 2.985 MB / 0.4945 GB, free: 15.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.4301, allocations: 160 kB / 0.4947 GB, free: 15.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.4306, allocations: 375.6 kB / 0.4951 GB, free: 15.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4307, allocations: 32.64 kB / 0.4951 GB, free: 15.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.431, allocations: 263 kB / 0.4953 GB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.4312, allocations: 176.4 kB / 0.4955 GB, free: 14.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4314, allocations: 118.3 kB / 0.4956 GB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.4316, allocations: 354.7 kB / 0.496 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.4323, allocations: 246.8 kB / 0.4962 GB, free: 14.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.4333, allocations: 0.529 MB / 0.4967 GB, free: 13.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.4348, allocations: 0.6287 MB / 0.4973 GB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4348, allocations: 3.312 kB / 0.4973 GB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002269/0.4371, allocations: 0.8328 MB / 0.4981 GB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.4372, allocations: 37.64 kB / 0.4982 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4372, allocations: 4 kB / 0.4982 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.4376, allocations: 100.8 kB / 0.4983 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.4383, allocations: 140.3 kB / 0.4984 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007796/0.439, allocations: 0.6561 MB / 0.499 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.4396, allocations: 47.95 kB / 0.4991 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.4397, allocations: 36 kB / 0.4991 GB, free: 10.81 MB / 378.7 MB 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.0003535/0.4401, allocations: 203.9 kB / 0.4993 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4402, allocations: 71.81 kB / 0.4994 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.4426, allocations: 0.6795 MB / 0.5001 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4426, allocations: 4 kB / 0.5001 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4426, allocations: 0 / 0.5001 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4426, allocations: 7.984 kB / 0.5001 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.4454, allocations: 1.105 MB / 0.5011 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4454, allocations: 1.625 kB / 0.5011 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.446, allocations: 104 kB / 0.5012 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007467/0.4467, allocations: 123.5 kB / 0.5014 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4467, allocations: 12 kB / 0.5014 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.449, allocations: 1.688 MB / 0.503 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.449, allocations: 7.969 kB / 0.503 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.4517, allocations: 0.9586 MB / 0.504 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.452, allocations: 83.7 kB / 0.504 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.4521, allocations: 8 kB / 0.5041 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.4526, allocations: 43.95 kB / 0.5041 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.4528, allocations: 63.78 kB / 0.5042 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.4528, allocations: 27.98 kB / 0.5042 GB, free: 5.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003579/0.4532, allocations: 255.2 kB / 0.5044 GB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4532, allocations: 3.938 kB / 0.5044 GB, free: 5.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009191/0.4541, allocations: 243.7 kB / 0.5047 GB, free: 4.949 MB / 378.7 MB 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 (40): * Single equations (assignments): 37 * 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.0009594/0.4551, allocations: 322.1 kB / 0.505 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.4568, allocations: 0.6059 MB / 0.5056 GB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4568, allocations: 0 / 0.5056 GB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009582/0.4578, allocations: 388.4 kB / 0.5059 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4589, allocations: 235.9 kB / 0.5062 GB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.4615, allocations: 1.026 MB / 0.5072 GB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4618, allocations: 256.9 kB / 0.5074 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.4623, allocations: 140.5 kB / 0.5075 GB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4626, allocations: 64.48 kB / 0.5076 GB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4626, allocations: 4 kB / 0.5076 GB, free: 1.855 MB / 378.7 MB Notification: Performance of Templates: time 0.02649/0.4891, allocations: 13.12 MB / 0.5204 GB, free: 4.852 MB / 394.7 MB " [Timeout remaining time 660] 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: 5.9443103219382465]