Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.0009017/0.0009017, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009676/0.0009676, allocations: 168.3 kB / 25.61 MB, free: 8.586 MB / 18.57 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 0.8899/0.8899, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1441/0.1441, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] 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.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.642e-05, allocations: 11 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005222/0.005238, allocations: 7.964 MB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.007905, allocations: 2.437 MB / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.008265, allocations: 31.69 kB / 389.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.008739, allocations: 250.2 kB / 390 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007821/0.009521, allocations: 0.6717 MB / 390.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.01086, allocations: 1.025 MB / 391.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.01223, allocations: 2.489 MB / 394.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.01278, allocations: 0.5927 MB / 394.7 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009387/0.01371, allocations: 1.15 MB / 395.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006326/0.01435, allocations: 0.7363 MB / 396.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01445, allocations: 84 kB / 396.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.01478, allocations: 215.7 kB / 396.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.01498, allocations: 406.8 kB / 397.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.01521, allocations: 379.2 kB / 397.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.0159, allocations: 1.016 MB / 398.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01591, allocations: 4 kB / 398.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01591, allocations: 0 / 398.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.01591, allocations: 0 / 398.7 MB, free: 3.922 MB / 314.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.001102/0.01702, allocations: 1.283 MB / 400 MB, free: 2.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.01705, allocations: 12.03 kB / 400 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.01737, allocations: 220 kB / 400.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.01785, allocations: 0.5279 MB / 400.7 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.01796, allocations: 411 kB / 401.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/0.01804, allocations: 88.38 kB / 401.2 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.01882, allocations: 1.391 MB / 402.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.01885, allocations: 16.06 kB / 402.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.01892, allocations: 47.92 kB / 402.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.01896, allocations: 33.31 kB / 402.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.0194, allocations: 397.5 kB / 403.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/0.02303, allocations: 7.244 MB / 410.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.02326, allocations: 169.1 kB / 410.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.02334, allocations: 76.3 kB / 410.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007222/0.02407, allocations: 0.7273 MB / 411.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.02409, allocations: 41.62 kB / 411.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.0241, allocations: 0 / 411.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001002/0.0251, allocations: 0.6985 MB / 412 MB, free: 5.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.02512, allocations: 55.41 kB / 412.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.0256, allocations: 0.7754 MB / 412.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.02562, allocations: 29.7 kB / 412.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.02591, allocations: 0.6607 MB / 413.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.02598, allocations: 150.9 kB / 413.7 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.02617, allocations: 252.3 kB / 414 MB, free: 3.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.02633, allocations: 0.5702 MB / 414.5 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.02643, allocations: 94.52 kB / 414.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.02697, allocations: 1.16 MB / 415.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.02775, allocations: 1.389 MB / 417.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.02776, allocations: 8 kB / 417.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000862/0.02862, allocations: 0.9579 MB / 418.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.02864, allocations: 16 kB / 418.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.02866, allocations: 24 kB / 418.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.02868, allocations: 36 kB / 418.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.02911, allocations: 276.1 kB / 418.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.02914, allocations: 51.84 kB / 418.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.02946, allocations: 52 kB / 418.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.02952, allocations: 60 kB / 418.6 MB, free: 14.12 MB / 346.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.0001929/0.02971, allocations: 267.9 kB / 418.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.0298, allocations: 95.42 kB / 419 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.03022, allocations: 365 kB / 419.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.03022, allocations: 3.828 kB / 419.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03023, allocations: 4 kB / 419.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.03023, allocations: 3.984 kB / 419.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.03096, allocations: 0.7782 MB / 420.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03096, allocations: 192 / 420.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.03112, allocations: 71.89 kB / 420.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.03113, allocations: 4 kB / 420.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.03114, allocations: 12 kB / 420.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.03114, allocations: 4 kB / 420.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.03115, allocations: 4 kB / 420.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.03154, allocations: 0.5064 MB / 420.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.03166, allocations: 107.4 kB / 420.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.03172, allocations: 11.94 kB / 420.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.03188, allocations: 16.03 kB / 420.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.03191, allocations: 27.89 kB / 420.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.03194, allocations: 19.98 kB / 420.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.03218, allocations: 410.8 kB / 421.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03218, allocations: 0 / 421.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006242/0.03281, allocations: 239.9 kB / 421.6 MB, free: 11.09 MB / 346.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.000245/0.03305, allocations: 175 kB / 421.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.03349, allocations: 479.9 kB / 422.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.03349, allocations: 4 kB / 422.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.03358, allocations: 87.5 kB / 422.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.03435, allocations: 319.8 kB / 422.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.03579, allocations: 1.275 MB / 423.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.03592, allocations: 199.5 kB / 424.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.03626, allocations: 146 kB / 424.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.03673, allocations: 373.8 kB / 424.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03674, allocations: 0 / 424.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of Templates: time 0.0147/0.05143, allocations: 12.89 MB / 437.5 MB, free: 11.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.252696830779314]