Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9759/0.9759, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 34.87 MB / 296.3 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.806e-05, allocations: 3.016 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.006355/0.006373, allocations: 8.051 MB / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.009252, allocations: 2.475 MB / 389.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.009539, allocations: 31.75 kB / 389.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.01004, allocations: 242.3 kB / 389.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008724/0.01091, allocations: 0.6754 MB / 390.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.01233, allocations: 1.021 MB / 391.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.01412, allocations: 2.478 MB / 393.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006536/0.01477, allocations: 0.6006 MB / 394.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.01583, allocations: 1.154 MB / 395.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.01648, allocations: 0.7207 MB / 396.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.01659, allocations: 88 kB / 396.3 MB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.01693, allocations: 227.6 kB / 396.5 MB, free: 224 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.01719, allocations: 394.9 kB / 396.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.01748, allocations: 383.2 kB / 397.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.01831, allocations: 1.016 MB / 398.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01831, allocations: 3.984 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01831, allocations: 4 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.01832, allocations: 0 / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.001398/0.01972, allocations: 1.279 MB / 399.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01975, allocations: 11.97 kB / 399.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.02013, allocations: 216 kB / 399.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.02075, allocations: 0.5592 MB / 400.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.02093, allocations: 403 kB / 400.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.02104, allocations: 92.31 kB / 400.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.02219, allocations: 1.458 MB / 402.3 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.02222, allocations: 8.125 kB / 402.3 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.02229, allocations: 47.92 kB / 402.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.02234, allocations: 41.23 kB / 402.4 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.02299, allocations: 471 kB / 402.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.02671, allocations: 7.244 MB / 410.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.02698, allocations: 185.2 kB / 410.3 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.02709, allocations: 88.3 kB / 410.4 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/0.02782, allocations: 0.7272 MB / 411.1 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.02785, allocations: 41.84 kB / 411.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.322e-06/0.02785, allocations: 0 / 411.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001189/0.02904, allocations: 0.8335 MB / 412 MB, free: 15.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.02907, allocations: 55.41 kB / 412 MB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.02966, allocations: 0.7798 MB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.02969, allocations: 33.7 kB / 412.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.03001, allocations: 0.6492 MB / 413.5 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.03009, allocations: 150.9 kB / 413.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.03028, allocations: 248.4 kB / 413.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.03045, allocations: 0.5625 MB / 414.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.03062, allocations: 118.5 kB / 414.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.03122, allocations: 1.172 MB / 415.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.03223, allocations: 1.416 MB / 417.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.03224, allocations: 7.938 kB / 417.1 MB, free: 9.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00112/0.03336, allocations: 1.016 MB / 418.2 MB, free: 8.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.03338, allocations: 16 kB / 418.2 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.0334, allocations: 28 kB / 418.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.03343, allocations: 36 kB / 418.2 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.03389, allocations: 280.1 kB / 418.5 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.03392, allocations: 51.8 kB / 418.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.03424, allocations: 55.95 kB / 418.6 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.0343, allocations: 79.98 kB / 418.7 MB, free: 8.188 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.03449, allocations: 256 kB / 418.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.03457, allocations: 91.47 kB / 419 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.03503, allocations: 388.1 kB / 419.4 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.03504, allocations: 4 kB / 419.4 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03504, allocations: 0 / 419.4 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.03505, allocations: 7.984 kB / 419.4 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.03592, allocations: 0.9021 MB / 420.3 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.03593, allocations: 7.984 kB / 420.3 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.03609, allocations: 68.09 kB / 420.4 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.0361, allocations: 4 kB / 420.4 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.03611, allocations: 12 kB / 420.4 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.03612, allocations: 4 kB / 420.4 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.03612, allocations: 0 / 420.4 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.0366, allocations: 0.5372 MB / 421 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.03671, allocations: 107.4 kB / 421.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.03676, allocations: 8 kB / 421.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.03692, allocations: 23.95 kB / 421.1 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.03696, allocations: 27.84 kB / 421.1 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.03699, allocations: 27.97 kB / 421.1 MB, free: 5.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000315/0.0373, allocations: 430.9 kB / 421.6 MB, free: 5.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0373, allocations: 0 / 421.6 MB, free: 5.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005553/0.03786, allocations: 239.9 kB / 421.8 MB, free: 4.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.03808, allocations: 179 kB / 422 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.03863, allocations: 0.4965 MB / 422.5 MB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03864, allocations: 0 / 422.5 MB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.03875, allocations: 102 kB / 422.6 MB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.0395, allocations: 322.4 kB / 422.9 MB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.04095, allocations: 1.278 MB / 424.2 MB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.04108, allocations: 199.3 kB / 424.4 MB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.04151, allocations: 262.6 kB / 424.6 MB, free: 2.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.0416, allocations: 72.48 kB / 424.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0416, allocations: 0 / 424.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of Templates: time 0.0146/0.0562, allocations: 12.69 MB / 437.4 MB, free: 5.523 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4168716967105865]