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.001176/0.001176, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001571/0.001571, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 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.944/0.944, allocations: 177 MB / 205.1 MB, free: 5.48 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.27/0.27, allocations: 34.86 MB / 296.6 MB, free: 0.4922 MB / 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 2.114e-06/2.114e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.242e-05, allocations: 2.312 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.008575/0.008598, allocations: 7.963 MB / 387.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.01239, allocations: 2.449 MB / 389.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.01276, allocations: 31.69 kB / 389.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.01335, allocations: 250.3 kB / 389.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.01441, allocations: 0.6755 MB / 390.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.01616, allocations: 1.013 MB / 391.6 MB, free: 5.391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.01842, allocations: 2.489 MB / 394.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000743/0.01917, allocations: 0.5967 MB / 394.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.02053, allocations: 1.15 MB / 395.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009329/0.02146, allocations: 0.7324 MB / 396.6 MB, free: 404 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.02161, allocations: 84 kB / 396.6 MB, free: 320 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.02204, allocations: 215.7 kB / 396.9 MB, free: 104 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.02235, allocations: 398.9 kB / 397.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.02268, allocations: 387.2 kB / 397.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.02367, allocations: 1.024 MB / 398.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.02367, allocations: 0 / 398.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02367, allocations: 4 kB / 398.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.02368, allocations: 0 / 398.7 MB, free: 14.3 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.00153/0.02521, allocations: 1.267 MB / 399.9 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.02525, allocations: 12.03 kB / 399.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.02569, allocations: 224 kB / 400.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.02651, allocations: 0.5434 MB / 400.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.0267, allocations: 407 kB / 401.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.02683, allocations: 88.33 kB / 401.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.02798, allocations: 1.391 MB / 402.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.028, allocations: 8.125 kB / 402.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.02808, allocations: 47.92 kB / 402.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.02813, allocations: 41.3 kB / 402.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.02871, allocations: 393.5 kB / 403.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/0.0331, allocations: 7.236 MB / 410.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.03336, allocations: 169.1 kB / 410.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.03346, allocations: 85.12 kB / 410.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008478/0.03431, allocations: 0.7345 MB / 411.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.03434, allocations: 41.61 kB / 411.3 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.03434, allocations: 0 / 411.3 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001139/0.03548, allocations: 0.6976 MB / 412 MB, free: 180 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.0355, allocations: 55.62 kB / 412.1 MB, free: 112 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.03613, allocations: 0.7793 MB / 412.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.03616, allocations: 33.64 kB / 412.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.0365, allocations: 0.6608 MB / 413.5 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.03659, allocations: 142.9 kB / 413.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.03684, allocations: 260.2 kB / 413.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.03716, allocations: 0.5702 MB / 414.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.0373, allocations: 94.53 kB / 414.6 MB, free: 13.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.03796, allocations: 1.156 MB / 415.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.03894, allocations: 1.385 MB / 417.1 MB, free: 10 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.03895, allocations: 8 kB / 417.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001141/0.04009, allocations: 0.9583 MB / 418.1 MB, free: 9.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.04012, allocations: 16 kB / 418.1 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.04014, allocations: 24 kB / 418.1 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.04018, allocations: 36 kB / 418.2 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.04075, allocations: 279.4 kB / 418.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/0.04078, allocations: 43.86 kB / 418.5 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.04126, allocations: 52 kB / 418.5 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.04132, allocations: 64 kB / 418.6 MB, free: 8.523 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.0002189/0.04154, allocations: 268 kB / 418.9 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.04165, allocations: 95.42 kB / 419 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.04216, allocations: 371.1 kB / 419.3 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.04216, allocations: 0 / 419.3 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.04217, allocations: 4 kB / 419.3 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.04217, allocations: 3.984 kB / 419.3 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.04306, allocations: 0.7816 MB / 420.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.04306, allocations: 0 / 420.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.04325, allocations: 67.91 kB / 420.2 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.04325, allocations: 4 kB / 420.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.04327, allocations: 8 kB / 420.2 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.04328, allocations: 4 kB / 420.2 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.04328, allocations: 8.188 kB / 420.2 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.04389, allocations: 0.5102 MB / 420.7 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.04404, allocations: 107.4 kB / 420.8 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.0441, allocations: 8 kB / 420.8 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.04433, allocations: 19.98 kB / 420.8 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.04436, allocations: 23.91 kB / 420.9 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.0444, allocations: 23.97 kB / 420.9 MB, free: 6.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003068/0.0447, allocations: 414.7 kB / 421.3 MB, free: 5.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0447, allocations: 4.031 kB / 421.3 MB, free: 5.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007961/0.0455, allocations: 239.9 kB / 421.5 MB, free: 5.469 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.0002453/0.04574, allocations: 167 kB / 421.7 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.04628, allocations: 484.6 kB / 422.2 MB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.04629, allocations: 0 / 422.2 MB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.04641, allocations: 98.33 kB / 422.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.04738, allocations: 306.7 kB / 422.6 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.04903, allocations: 1.274 MB / 423.8 MB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.04919, allocations: 199.3 kB / 424 MB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.04958, allocations: 153 kB / 424.2 MB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.05017, allocations: 377.8 kB / 424.5 MB, free: 2.359 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05017, allocations: 0 / 424.5 MB, free: 2.359 MB / 394.7 MB Notification: Performance of Templates: time 0.01725/0.06742, allocations: 12.71 MB / 437.3 MB, free: 5.859 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.436888861004263]