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.0009082/0.0009082, allocations: 84.34 kB / 21.43 MB, free: 3.125 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.004847/0.004847, allocations: 154.2 kB / 24.7 MB, free: 9.406 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.9046/0.9046, allocations: 177 MB / 204.9 MB, free: 5.758 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.2825/0.2825, allocations: 34.24 MB / 295.6 MB, free: 0.6523 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 1.653e-06/1.653e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.539e-05, allocations: 8.609 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2406/0.2407, allocations: 16.2 MB / 459.6 MB, free: 34.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.2454, allocations: 6.475 MB / 466.1 MB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.2458, allocations: 31.88 kB / 466.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.2465, allocations: 372.5 kB / 466.5 MB, free: 29.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008619/0.2474, allocations: 0.7164 MB / 467.2 MB, free: 29.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.2494, allocations: 1.383 MB / 468.6 MB, free: 28.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.2507, allocations: 2.513 MB / 471.1 MB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.2512, allocations: 0.5701 MB / 471.7 MB, free: 27.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2523, allocations: 1.334 MB / 473 MB, free: 26.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.2528, allocations: 0.7284 MB / 473.7 MB, free: 26.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.2529, allocations: 92.22 kB / 473.8 MB, free: 26.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.2535, allocations: 489.5 kB / 474.3 MB, free: 26.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2537, allocations: 394.5 kB / 474.7 MB, free: 26.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.254, allocations: 382.7 kB / 475.1 MB, free: 26.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2551, allocations: 1.638 MB / 476.7 MB, free: 25.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2551, allocations: 0 / 476.7 MB, free: 25.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2551, allocations: 4 kB / 476.7 MB, free: 25.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2552, allocations: 0 / 476.7 MB, free: 25.49 MB / 410.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.001392/0.2565, allocations: 1.233 MB / 477.9 MB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2566, allocations: 9.75 kB / 477.9 MB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.2569, allocations: 123.4 kB / 478.1 MB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.2575, allocations: 0.553 MB / 478.6 MB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.2577, allocations: 410.4 kB / 479 MB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.2577, allocations: 82.41 kB / 479.1 MB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2589, allocations: 1.698 MB / 480.8 MB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.2589, allocations: 7.312 kB / 480.8 MB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.259, allocations: 40.81 kB / 480.8 MB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.259, allocations: 43.78 kB / 480.9 MB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.2599, allocations: 0.9647 MB / 481.9 MB, free: 22.32 MB / 410.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.003002/0.2629, allocations: 5.804 MB / 487.7 MB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.2633, allocations: 296.5 kB / 487.9 MB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.2634, allocations: 159.6 kB / 488.1 MB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.2643, allocations: 0.7778 MB / 488.9 MB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2643, allocations: 37.64 kB / 488.9 MB, free: 17.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.213e-06/0.2643, allocations: 0 / 488.9 MB, free: 17.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001394/0.2657, allocations: 1.036 MB / 490 MB, free: 16.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2657, allocations: 61.38 kB / 490 MB, free: 16.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.2663, allocations: 0.7904 MB / 490.8 MB, free: 16.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2663, allocations: 36.7 kB / 490.8 MB, free: 15.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.2665, allocations: 0.5955 MB / 491.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.2665, allocations: 142.1 kB / 491.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.2667, allocations: 236.8 kB / 491.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.2668, allocations: 382.6 kB / 492.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.2671, allocations: 246.8 kB / 492.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.2676, allocations: 0.9635 MB / 493.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.2685, allocations: 1.32 MB / 494.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.2685, allocations: 6.781 kB / 494.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00129/0.2698, allocations: 1.205 MB / 495.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.2699, allocations: 19.95 kB / 495.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.2699, allocations: 24.84 kB / 496 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-05/0.27, allocations: 35.53 kB / 496 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.2705, allocations: 281.1 kB / 496.3 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.829e-05/0.2705, allocations: 50.03 kB / 496.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.2709, allocations: 53.2 kB / 496.4 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.271, allocations: 79 kB / 496.4 MB, free: 11.95 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.0002574/0.2713, allocations: 326.3 kB / 496.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.2713, allocations: 81.34 kB / 496.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.272, allocations: 490.1 kB / 497.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.272, allocations: 7.859 kB / 497.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.272, allocations: 0 / 497.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.272, allocations: 1.062 kB / 497.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.273, allocations: 0.9581 MB / 498.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.273, allocations: 1.125 kB / 498.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2732, allocations: 71.05 kB / 498.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2732, allocations: 3.656 kB / 498.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2732, allocations: 13.31 kB / 498.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2732, allocations: 2.438 kB / 498.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2732, allocations: 1.156 kB / 498.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.2739, allocations: 0.6424 MB / 499 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.274, allocations: 104.1 kB / 499.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2741, allocations: 13.66 kB / 499.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2742, allocations: 12.2 kB / 499.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.2743, allocations: 33.59 kB / 499.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.2743, allocations: 24.52 kB / 499.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004849/0.2748, allocations: 498.8 kB / 499.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2748, allocations: 1.25 kB / 499.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008201/0.2756, allocations: 303.8 kB / 500 MB, free: 10.19 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.0005025/0.2761, allocations: 321.4 kB / 0.4886 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.2769, allocations: 0.6216 MB / 0.4892 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2769, allocations: 6.438 kB / 0.4892 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2771, allocations: 131.7 kB / 0.4893 GB, free: 9.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.278, allocations: 292.4 kB / 0.4896 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.2797, allocations: 1.442 MB / 0.491 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2801, allocations: 398.6 kB / 0.4914 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2803, allocations: 84.47 kB / 0.4915 GB, free: 8.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2803, allocations: 0 / 0.4915 GB, free: 8.758 MB / 410.7 MB Notification: Performance of Templates: time 0.01755/0.2978, allocations: 13.7 MB / 0.5048 GB, free: 4.758 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.106922826729715]