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.001472/0.001472, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001587/0.001587, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.469/1.469, allocations: 177.2 MB / 204.6 MB, free: 5.57 MB / 186.7 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.3364/0.3364, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.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.933e-06/1.933e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.156e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02408/0.02411, allocations: 16.22 MB / 393.5 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.0351, allocations: 6.481 MB / 400 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.03591, allocations: 35.69 kB / 400 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.03704, allocations: 369.5 kB / 400.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.03888, allocations: 0.7143 MB / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.04273, allocations: 1.37 MB / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003362/0.04609, allocations: 2.509 MB / 405 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009697/0.04706, allocations: 0.6042 MB / 405.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.04948, allocations: 1.344 MB / 406.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.05074, allocations: 0.7168 MB / 407.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.05092, allocations: 88 kB / 407.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.05216, allocations: 491 kB / 408.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.05262, allocations: 390.8 kB / 408.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.05316, allocations: 391.2 kB / 409 MB, free: 3.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.05553, allocations: 1.644 MB / 410.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.05553, allocations: 4 kB / 410.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.05553, allocations: 0 / 410.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.05555, allocations: 0 / 410.6 MB, free: 1.488 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.002704/0.05825, allocations: 1.218 MB / 411.8 MB, free: 244 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.05829, allocations: 8.031 kB / 411.8 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006769/0.05897, allocations: 228 kB / 412.1 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.06012, allocations: 0.5758 MB / 412.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.0605, allocations: 415 kB / 413 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.06067, allocations: 80.38 kB / 413.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.06334, allocations: 1.707 MB / 414.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.06337, allocations: 8.125 kB / 414.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.0635, allocations: 39.94 kB / 414.9 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.06357, allocations: 53.23 kB / 414.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.06544, allocations: 0.9533 MB / 415.9 MB, free: 11.86 MB / 394.7 MB 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.007699/0.07314, allocations: 5.837 MB / 421.7 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.07381, allocations: 300.6 kB / 422 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.07411, allocations: 157.4 kB / 422.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.07606, allocations: 0.782 MB / 422.9 MB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.07612, allocations: 42.78 kB / 423 MB, free: 4.484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.414e-06/0.07612, allocations: 0 / 423 MB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002691/0.07881, allocations: 1.036 MB / 424 MB, free: 3.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.07886, allocations: 55.41 kB / 424.1 MB, free: 3.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.07994, allocations: 0.7927 MB / 424.9 MB, free: 2.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.07998, allocations: 29.7 kB / 424.9 MB, free: 2.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.08054, allocations: 0.6074 MB / 425.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.08068, allocations: 138.9 kB / 425.6 MB, free: 1.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.08103, allocations: 238.7 kB / 425.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.0813, allocations: 386.8 kB / 426.3 MB, free: 1.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.08177, allocations: 238.5 kB / 426.5 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.08317, allocations: 0.9739 MB / 427.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.08504, allocations: 1.319 MB / 428.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.08505, allocations: 8 kB / 428.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002278/0.08733, allocations: 1.262 MB / 430 MB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.08736, allocations: 16.19 kB / 430.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/0.0874, allocations: 32 kB / 430.1 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.576e-05/0.08745, allocations: 32 kB / 430.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.08834, allocations: 283.4 kB / 430.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.313e-05/0.0884, allocations: 55.78 kB / 430.5 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.08908, allocations: 48 kB / 430.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.08921, allocations: 72 kB / 430.6 MB, free: 12.08 MB / 410.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.0005086/0.08972, allocations: 329.1 kB / 430.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.0899, allocations: 95.42 kB / 431 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.09092, allocations: 482.9 kB / 431.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.09093, allocations: 7.984 kB / 431.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.09094, allocations: 0 / 431.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.09094, allocations: 7.984 kB / 431.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.09274, allocations: 0.9511 MB / 432.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.09274, allocations: 0 / 432.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.09307, allocations: 71.91 kB / 432.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.09307, allocations: 0 / 432.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.09311, allocations: 11.98 kB / 432.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.09311, allocations: 4 kB / 432.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.09311, allocations: 4 kB / 432.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.09424, allocations: 0.6529 MB / 433.2 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.09449, allocations: 119.6 kB / 433.3 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.09458, allocations: 8 kB / 433.3 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.09494, allocations: 15.98 kB / 433.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.09501, allocations: 31.84 kB / 433.3 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.09506, allocations: 27.97 kB / 433.4 MB, free: 9.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006963/0.09576, allocations: 499 kB / 433.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09576, allocations: 0 / 433.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001336/0.0971, allocations: 299.6 kB / 434.1 MB, free: 8.398 MB / 410.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.0006022/0.0977, allocations: 314.6 kB / 434.5 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.09887, allocations: 0.6141 MB / 435.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.09887, allocations: 0 / 435.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.09915, allocations: 131.8 kB / 435.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.1007, allocations: 309.5 kB / 435.5 MB, free: 7.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.1031, allocations: 1.412 MB / 436.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.1036, allocations: 405 kB / 437.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008396/0.1045, allocations: 293 kB / 437.6 MB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.1046, allocations: 68.44 kB / 437.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1046, allocations: 0 / 437.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of Templates: time 0.1516/0.2562, allocations: 13.27 MB / 450.9 MB, free: 101.7 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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: 5.337712420034222]