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.001544/0.001544, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001911/0.001911, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.2311/0.2311, allocations: 44.95 MB / 359.6 MB, free: 6.07 MB / 286.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.00319/0.00319, allocations: 79.88 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3785, allocations: 65.47 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1975/0.5759, allocations: 141.4 MB / 0.6962 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.5795, allocations: 1.587 MB / 0.6978 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.5799, allocations: 19.81 kB / 0.6978 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007666/0.5807, allocations: 202.6 kB / 0.698 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.5831, allocations: 0.8063 MB / 0.6988 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5849, allocations: 0.6778 MB / 0.6994 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.5865, allocations: 1.158 MB / 0.7006 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.587, allocations: 274.2 kB / 0.7008 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.588, allocations: 0.4943 MB / 0.7013 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.5886, allocations: 374.5 kB / 0.7017 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.5886, allocations: 44 kB / 0.7017 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5898, allocations: 0.4911 MB / 0.7022 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.59, allocations: 163.5 kB / 0.7024 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5903, allocations: 231 kB / 0.7026 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.5917, allocations: 0.9616 MB / 0.7035 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5918, allocations: 0 / 0.7035 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5918, allocations: 0 / 0.7035 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5918, allocations: 4 kB / 0.7035 GB, free: 2.113 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.001795/0.5936, allocations: 0.8378 MB / 0.7043 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5936, allocations: 15.98 kB / 0.7044 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.594, allocations: 79.55 kB / 0.7044 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.5947, allocations: 344.9 kB / 0.7048 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.5948, allocations: 84.34 kB / 0.7048 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.5949, allocations: 43.89 kB / 0.7049 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.596, allocations: 0.7425 MB / 0.7056 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.5961, allocations: 4 kB / 0.7056 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.5961, allocations: 16 kB / 0.7056 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.5961, allocations: 16.64 kB / 0.7056 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.5971, allocations: 406.1 kB / 0.706 GB, free: 15.37 MB / 0.545 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.003116/0.6002, allocations: 1.938 MB / 0.7079 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/0.6011, allocations: 332.9 kB / 0.7082 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.6015, allocations: 153.3 kB / 0.7084 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.6015, allocations: 12.22 kB / 0.7084 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006722/0.6022, allocations: 418.1 kB / 0.7088 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.6022, allocations: 0 / 0.7088 GB, free: 12.4 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.01228/0.6145, allocations: 3.006 MB / 0.7117 GB, free: 9.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6146, allocations: 148.5 kB / 0.7119 GB, free: 9.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.615, allocations: 369.5 kB / 0.7122 GB, free: 8.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.6151, allocations: 37.7 kB / 0.7123 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.6153, allocations: 264.4 kB / 0.7125 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6155, allocations: 170.6 kB / 0.7127 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.6157, allocations: 122.3 kB / 0.7128 GB, free: 8.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6159, allocations: 350.8 kB / 0.7131 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.6165, allocations: 250.9 kB / 0.7134 GB, free: 7.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.6174, allocations: 0.4951 MB / 0.7138 GB, free: 6.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6188, allocations: 0.6355 MB / 0.7145 GB, free: 6.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6188, allocations: 8 kB / 0.7145 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002022/0.6208, allocations: 0.8117 MB / 0.7153 GB, free: 5.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.6209, allocations: 34.36 kB / 0.7153 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6209, allocations: 11.98 kB / 0.7153 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.6213, allocations: 120.8 kB / 0.7154 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.6219, allocations: 135.8 kB / 0.7156 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006753/0.6226, allocations: 0.6733 MB / 0.7162 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.6231, allocations: 52 kB / 0.7163 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6231, allocations: 44 kB / 0.7163 GB, free: 4.328 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.0003234/0.6235, allocations: 197.6 kB / 0.7165 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.6236, allocations: 47.72 kB / 0.7165 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.6256, allocations: 0.7328 MB / 0.7173 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6256, allocations: 8 kB / 0.7173 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6256, allocations: 7.938 kB / 0.7173 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6256, allocations: 3.984 kB / 0.7173 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.6282, allocations: 1.122 MB / 0.7184 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6282, allocations: 0 / 0.7184 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.6287, allocations: 107.8 kB / 0.7185 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.6293, allocations: 100.9 kB / 0.7186 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.6293, allocations: 23.98 kB / 0.7186 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.6313, allocations: 1.679 MB / 0.7202 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6313, allocations: 7.969 kB / 0.7202 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.6337, allocations: 0.9674 MB / 0.7212 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.6339, allocations: 91.59 kB / 0.7213 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.634, allocations: 8 kB / 0.7213 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.6344, allocations: 51.94 kB / 0.7213 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6346, allocations: 63.84 kB / 0.7214 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.6347, allocations: 31.98 kB / 0.7214 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003094/0.635, allocations: 255.2 kB / 0.7217 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.635, allocations: 0 / 0.7217 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008013/0.6358, allocations: 231.7 kB / 0.7219 GB, free: 14.39 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.000662/0.6365, allocations: 296.5 kB / 0.7222 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.6381, allocations: 0.6164 MB / 0.7228 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6381, allocations: 8 kB / 0.7228 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.639, allocations: 394.3 kB / 0.7232 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6401, allocations: 201 kB / 0.7233 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.6424, allocations: 1.201 MB / 0.7245 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6426, allocations: 244.9 kB / 0.7247 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.6429, allocations: 87.34 kB / 0.7248 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6429, allocations: 0 / 0.7248 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.281/0.9239, allocations: 11.77 MB / 0.7363 GB, free: 177 MB / 0.5606 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 -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: 10.419036171864718]