Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001833/0.001833, allocations: 111 kB / 21.18 MB, free: 0.668 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.002299/0.002299, allocations: 209 kB / 24.48 MB, free: 3.969 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4131, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2019/0.615, allocations: 141.4 MB / 0.6999 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.6184, allocations: 1.579 MB / 0.7014 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.6188, allocations: 19.88 kB / 0.7014 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.6195, allocations: 206.6 kB / 0.7016 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.6219, allocations: 0.7925 MB / 0.7024 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6236, allocations: 0.6889 MB / 0.7031 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.6252, allocations: 1.162 MB / 0.7042 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.6257, allocations: 282.2 kB / 0.7045 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.6266, allocations: 494.2 kB / 0.7049 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.6271, allocations: 410.3 kB / 0.7053 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.6272, allocations: 44 kB / 0.7054 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.6284, allocations: 0.4993 MB / 0.7059 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.6286, allocations: 163.5 kB / 0.706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.6289, allocations: 223.1 kB / 0.7062 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.6304, allocations: 0.9604 MB / 0.7072 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6304, allocations: 0 / 0.7072 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6304, allocations: 4 kB / 0.7072 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6304, allocations: 3.938 kB / 0.7072 GB, free: 14.78 MB / 0.545 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.00205/0.6324, allocations: 0.8417 MB / 0.708 GB, free: 13.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6325, allocations: 8.031 kB / 0.708 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.6329, allocations: 75.61 kB / 0.7081 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/0.6338, allocations: 348.8 kB / 0.7084 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6339, allocations: 92.28 kB / 0.7085 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.634, allocations: 39.95 kB / 0.7085 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.6351, allocations: 0.7464 MB / 0.7093 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6352, allocations: 3.938 kB / 0.7093 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.6352, allocations: 16 kB / 0.7093 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.6353, allocations: 20.64 kB / 0.7093 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.6362, allocations: 402.2 kB / 0.7097 GB, free: 12.03 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.003154/0.6393, allocations: 1.942 MB / 0.7116 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.6402, allocations: 327.4 kB / 0.7119 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.6406, allocations: 153.3 kB / 0.712 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.6406, allocations: 8.219 kB / 0.7121 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/0.6413, allocations: 414.2 kB / 0.7124 GB, free: 9.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.6413, allocations: 0 / 0.7124 GB, free: 9.066 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.01214/0.6534, allocations: 3.02 MB / 0.7154 GB, free: 5.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6535, allocations: 136.5 kB / 0.7155 GB, free: 5.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.654, allocations: 377.5 kB / 0.7159 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.654, allocations: 33.7 kB / 0.7159 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.6543, allocations: 264.4 kB / 0.7162 GB, free: 5.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6544, allocations: 170.6 kB / 0.7163 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.6546, allocations: 122.3 kB / 0.7165 GB, free: 4.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6548, allocations: 354.8 kB / 0.7168 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.6554, allocations: 242.8 kB / 0.717 GB, free: 4.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.6562, allocations: 0.5069 MB / 0.7175 GB, free: 3.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.6576, allocations: 0.6317 MB / 0.7181 GB, free: 2.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6576, allocations: 0 / 0.7181 GB, free: 2.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001982/0.6596, allocations: 0.8156 MB / 0.7189 GB, free: 2.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.6596, allocations: 36.36 kB / 0.719 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6596, allocations: 4 kB / 0.719 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004743/0.6601, allocations: 125.4 kB / 0.7191 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.6607, allocations: 135.8 kB / 0.7192 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/0.6613, allocations: 0.6694 MB / 0.7199 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.6618, allocations: 47.95 kB / 0.7199 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.6619, allocations: 47.98 kB / 0.72 GB, free: 0.9961 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.0002934/0.6622, allocations: 204.5 kB / 0.7202 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.6623, allocations: 47.66 kB / 0.7202 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.6643, allocations: 0.7329 MB / 0.7209 GB, free: 16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6643, allocations: 4 kB / 0.7209 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6643, allocations: 0 / 0.7209 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6643, allocations: 7.984 kB / 0.7209 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.6669, allocations: 1.136 MB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6669, allocations: 4 kB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.6674, allocations: 107.8 kB / 0.7221 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.668, allocations: 100.9 kB / 0.7222 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.668, allocations: 15.98 kB / 0.7223 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.67, allocations: 1.687 MB / 0.7239 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.67, allocations: 4.062 kB / 0.7239 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.6723, allocations: 0.9712 MB / 0.7249 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.6726, allocations: 83.66 kB / 0.7249 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.6727, allocations: 20 kB / 0.725 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.6731, allocations: 39.94 kB / 0.725 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6733, allocations: 59.91 kB / 0.7251 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6734, allocations: 39.98 kB / 0.7251 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003069/0.6737, allocations: 255.2 kB / 0.7253 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6737, allocations: 0 / 0.7253 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008285/0.6745, allocations: 231.7 kB / 0.7256 GB, free: 11.05 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.0007549/0.6753, allocations: 290.6 kB / 0.7258 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.6769, allocations: 0.6125 MB / 0.7264 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6769, allocations: 0 / 0.7264 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.6778, allocations: 402.6 kB / 0.7268 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6789, allocations: 204.8 kB / 0.727 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.6812, allocations: 1.157 MB / 0.7281 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6815, allocations: 260.8 kB / 0.7284 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.682, allocations: 156.4 kB / 0.7285 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6823, allocations: 71.42 kB / 0.7286 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.6823, allocations: 0 / 0.7286 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of Templates: time 0.3114/0.9937, allocations: 13.81 MB / 0.7421 GB, free: 172.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.301363950013183]