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.001867/0.001867, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002268/0.002268, allocations: 166.5 kB / 23.96 MB, free: 4.141 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2479/0.2479, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 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.333e-06/1.333e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.088e-05, allocations: 5.656 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2011/0.2011, allocations: 16.2 MB / 458.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.2095, allocations: 6.475 MB / 465.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2106, allocations: 29.06 kB / 465.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2118, allocations: 377.5 kB / 465.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.2137, allocations: 0.7274 MB / 466.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.2178, allocations: 1.362 MB / 467.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.2216, allocations: 2.517 MB / 470.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.2228, allocations: 0.5652 MB / 470.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.2258, allocations: 1.336 MB / 472.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2272, allocations: 0.7236 MB / 473 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.2275, allocations: 86.72 kB / 473.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2292, allocations: 500 kB / 473.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005077/0.2297, allocations: 395.9 kB / 474 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.2303, allocations: 387.4 kB / 474.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2326, allocations: 1.637 MB / 476 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2326, allocations: 4 kB / 476 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2326, allocations: 1.031 kB / 476 MB, free: 1.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.2326, allocations: 0 / 476 MB, free: 1.035 MB / 366.1 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.002197/0.2348, allocations: 1.227 MB / 477.2 MB, free: 148 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2349, allocations: 8.594 kB / 477.2 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/0.2354, allocations: 124.2 kB / 477.3 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2365, allocations: 0.5496 MB / 477.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.2368, allocations: 407.7 kB / 478.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.237, allocations: 85.61 kB / 478.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.2393, allocations: 1.696 MB / 480.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.2393, allocations: 8.438 kB / 480.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2395, allocations: 44.3 kB / 480.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/0.2395, allocations: 46.52 kB / 480.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.2412, allocations: 0.9595 MB / 481.1 MB, free: 13.27 MB / 382.1 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.007923/0.2491, allocations: 5.818 MB / 486.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.25, allocations: 292 kB / 487.2 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.2503, allocations: 159.3 kB / 487.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.2525, allocations: 0.7755 MB / 488.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.2525, allocations: 40.02 kB / 488.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/0.2526, allocations: 4 kB / 488.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002624/0.2552, allocations: 1.024 MB / 489.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2552, allocations: 63.77 kB / 489.3 MB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2563, allocations: 0.7852 MB / 490.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.2564, allocations: 37.05 kB / 490.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.2568, allocations: 0.5963 MB / 490.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.257, allocations: 152 kB / 490.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.2573, allocations: 234.5 kB / 491.1 MB, free: 5.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2575, allocations: 386.8 kB / 491.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.258, allocations: 246.5 kB / 491.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2591, allocations: 0.9673 MB / 492.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.261, allocations: 1.315 MB / 494 MB, free: 1.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/0.261, allocations: 12 kB / 494 MB, free: 1.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002631/0.2636, allocations: 1.2 MB / 495.2 MB, free: 372 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.2637, allocations: 16.94 kB / 495.2 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.978e-05/0.2637, allocations: 24 kB / 495.2 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-05/0.2638, allocations: 40.55 kB / 495.3 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.2647, allocations: 279.5 kB / 495.5 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.809e-05/0.2648, allocations: 47.86 kB / 495.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.2657, allocations: 59.83 kB / 495.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2658, allocations: 79.98 kB / 495.7 MB, free: 15.83 MB / 398.1 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.000558/0.2663, allocations: 328.2 kB / 496 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.2666, allocations: 90.08 kB / 496.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2676, allocations: 481.1 kB / 496.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.2676, allocations: 4 kB / 496.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2676, allocations: 0 / 496.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2677, allocations: 4 kB / 496.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.2696, allocations: 0.9506 MB / 497.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2697, allocations: 4.188 kB / 497.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.27, allocations: 67.89 kB / 497.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.27, allocations: 4 kB / 497.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.27, allocations: 12 kB / 497.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.27, allocations: 7.938 kB / 497.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.27, allocations: 4 kB / 497.7 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2711, allocations: 0.6336 MB / 498.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.2714, allocations: 111.4 kB / 498.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2716, allocations: 8 kB / 498.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.272, allocations: 20 kB / 498.4 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.2721, allocations: 31.89 kB / 498.5 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.2721, allocations: 19.98 kB / 498.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006949/0.2728, allocations: 0.4912 MB / 499 MB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2728, allocations: 0 / 499 MB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001399/0.2742, allocations: 303.6 kB / 499.3 MB, free: 12.18 MB / 398.1 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.0007491/0.275, allocations: 320.3 kB / 499.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2762, allocations: 0.6145 MB / 0.4885 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2762, allocations: 0 / 0.4885 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.2765, allocations: 135.8 kB / 0.4886 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.2782, allocations: 305.6 kB / 0.4889 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2808, allocations: 1.394 MB / 0.4902 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.2813, allocations: 393 kB / 0.4906 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008926/0.2822, allocations: 304.9 kB / 0.4909 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.2824, allocations: 68.48 kB / 0.491 GB, free: 8.633 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2824, allocations: 0 / 0.491 GB, free: 8.633 MB / 398.1 MB Notification: Performance of Templates: time 0.02618/0.3086, allocations: 13.19 MB / 0.5039 GB, free: 11.71 MB / 414.1 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.535814847797155]