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.001474/0.001474, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001654/0.001654, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 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.2083/0.2083, allocations: 46.94 MB / 361.5 MB, free: 4.188 MB / 286.1 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 0.002375/0.002375, allocations: 83.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2741, allocations: 66.07 MB / 0.562 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02019/0.2943, allocations: 18.03 MB / 0.5796 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009766/0.304, allocations: 7.101 MB / 0.5865 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007938/0.3048, allocations: 39.69 kB / 0.5865 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.306, allocations: 381.6 kB / 0.5869 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3077, allocations: 0.6917 MB / 0.5876 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.3112, allocations: 1.353 MB / 0.5889 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.3146, allocations: 2.562 MB / 0.5914 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.3156, allocations: 0.5612 MB / 0.5919 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.3177, allocations: 1.071 MB / 0.593 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.3192, allocations: 0.8018 MB / 0.5938 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.3195, allocations: 88 kB / 0.5939 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.321, allocations: 0.624 MB / 0.5945 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.3216, allocations: 378.9 kB / 0.5948 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008156/0.3224, allocations: 0.5095 MB / 0.5953 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.325, allocations: 1.619 MB / 0.5969 GB, free: 364 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.325, allocations: 0 / 0.5969 GB, free: 364 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.325, allocations: 0 / 0.5969 GB, free: 364 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.987e-05/0.325, allocations: 0 / 0.5969 GB, free: 364 kB / 430.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.002828/0.3278, allocations: 1.241 MB / 0.5981 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3279, allocations: 8.031 kB / 0.5981 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/0.3284, allocations: 124.3 kB / 0.5982 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3295, allocations: 0.5415 MB / 0.5988 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.3298, allocations: 407 kB / 0.5992 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.33, allocations: 92.31 kB / 0.5992 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.332, allocations: 1.301 MB / 0.6005 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.332, allocations: 7.938 kB / 0.6005 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.3321, allocations: 39.98 kB / 0.6006 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.3322, allocations: 41.31 kB / 0.6006 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.3338, allocations: 0.9571 MB / 0.6015 GB, free: 11.34 MB / 446.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.00751/0.3413, allocations: 7.006 MB / 0.6084 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.3419, allocations: 300.1 kB / 0.6087 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.3422, allocations: 157.4 kB / 0.6088 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.3439, allocations: 0.8483 MB / 0.6096 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.3439, allocations: 42.73 kB / 0.6097 GB, free: 2.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/0.3439, allocations: 4 kB / 0.6097 GB, free: 2.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002316/0.3462, allocations: 1.045 MB / 0.6107 GB, free: 1.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3463, allocations: 55.41 kB / 0.6108 GB, free: 1.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3474, allocations: 0.8682 MB / 0.6116 GB, free: 488 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.3474, allocations: 33.7 kB / 0.6116 GB, free: 448 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.3479, allocations: 0.5882 MB / 0.6122 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.348, allocations: 142.9 kB / 0.6124 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.3483, allocations: 238.7 kB / 0.6126 GB, free: 15.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3485, allocations: 402.7 kB / 0.613 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.3489, allocations: 250.4 kB / 0.6132 GB, free: 14.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009824/0.3499, allocations: 0.9622 MB / 0.6141 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.3515, allocations: 1.327 MB / 0.6154 GB, free: 11.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.3515, allocations: 8 kB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001978/0.3535, allocations: 1.216 MB / 0.6166 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3535, allocations: 16 kB / 0.6166 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/0.3535, allocations: 32 kB / 0.6167 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.947e-05/0.3536, allocations: 32 kB / 0.6167 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.3544, allocations: 275.5 kB / 0.617 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/0.3544, allocations: 51.8 kB / 0.617 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.3551, allocations: 48 kB / 0.6171 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/0.3552, allocations: 75.98 kB / 0.6171 GB, free: 10.05 MB / 462.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.0004361/0.3556, allocations: 334.4 kB / 0.6175 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3558, allocations: 95.42 kB / 0.6175 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008916/0.3567, allocations: 491.7 kB / 0.618 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3567, allocations: 4 kB / 0.618 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3567, allocations: 4 kB / 0.618 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3567, allocations: 7.969 kB / 0.618 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3584, allocations: 1.069 MB / 0.6191 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3584, allocations: 192 / 0.6191 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3587, allocations: 79.84 kB / 0.6192 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.3587, allocations: 0 / 0.6192 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3588, allocations: 12 kB / 0.6192 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3588, allocations: 3.984 kB / 0.6192 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3588, allocations: 7.938 kB / 0.6192 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.3597, allocations: 0.6452 MB / 0.6198 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.36, allocations: 127.2 kB / 0.6199 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3601, allocations: 11.98 kB / 0.6199 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3605, allocations: 16 kB / 0.62 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3606, allocations: 31.95 kB / 0.62 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.3606, allocations: 23.92 kB / 0.62 GB, free: 6.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008082/0.3614, allocations: 0.597 MB / 0.6206 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3614, allocations: 0 / 0.6206 GB, free: 6.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001095/0.3625, allocations: 311.6 kB / 0.6209 GB, free: 6.078 MB / 462.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.0005251/0.363, allocations: 301 kB / 0.6212 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3641, allocations: 0.6147 MB / 0.6218 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3641, allocations: 0 / 0.6218 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3644, allocations: 148.9 kB / 0.6219 GB, free: 5.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.3662, allocations: 424.4 kB / 0.6223 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3686, allocations: 1.535 MB / 0.6238 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.3693, allocations: 0.9971 MB / 0.6248 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3695, allocations: 87.42 kB / 0.6249 GB, free: 1.91 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3695, allocations: 0 / 0.6249 GB, free: 1.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02285/0.3924, allocations: 14.85 MB / 0.6394 GB, free: 3.125 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 8.671985578956082]