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.001325/0.001325, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001639/0.001639, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2288/0.2288, allocations: 46.94 MB / 361.5 MB, free: 3.934 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.002419/0.002419, allocations: 83.86 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3371, allocations: 66.07 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0208/0.3579, allocations: 16.32 MB / 0.5778 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.368, allocations: 6.494 MB / 0.5842 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.3688, allocations: 27.75 kB / 0.5842 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.37, allocations: 369.6 kB / 0.5846 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.372, allocations: 0.6995 MB / 0.5852 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.3758, allocations: 1.337 MB / 0.5865 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.3792, allocations: 2.544 MB / 0.589 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.3804, allocations: 0.5767 MB / 0.5896 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.3826, allocations: 1.071 MB / 0.5906 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.3841, allocations: 0.7706 MB / 0.5914 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.3843, allocations: 87.98 kB / 0.5915 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.3856, allocations: 483.2 kB / 0.5919 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.3861, allocations: 382.9 kB / 0.5923 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.3867, allocations: 450.2 kB / 0.5927 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.3892, allocations: 1.592 MB / 0.5943 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3892, allocations: 0 / 0.5943 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3892, allocations: 0 / 0.5943 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.3892, allocations: 0 / 0.5943 GB, free: 2.707 MB / 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.002652/0.3919, allocations: 1.229 MB / 0.5955 GB, free: 1.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3919, allocations: 12.02 kB / 0.5955 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.3924, allocations: 124.3 kB / 0.5956 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3936, allocations: 0.5571 MB / 0.5962 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.394, allocations: 406.9 kB / 0.5965 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3941, allocations: 84.33 kB / 0.5966 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.3965, allocations: 1.699 MB / 0.5983 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.3965, allocations: 7.938 kB / 0.5983 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3966, allocations: 43.98 kB / 0.5983 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.3967, allocations: 41.31 kB / 0.5984 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.3983, allocations: 0.9571 MB / 0.5993 GB, free: 13.2 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.00733/0.4057, allocations: 5.828 MB / 0.605 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.4063, allocations: 296.6 kB / 0.6053 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.4066, allocations: 153.4 kB / 0.6054 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.4083, allocations: 0.7823 MB / 0.6062 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.4083, allocations: 42.73 kB / 0.6062 GB, free: 5.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.235e-06/0.4083, allocations: 0 / 0.6062 GB, free: 5.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00238/0.4107, allocations: 1.029 MB / 0.6072 GB, free: 4.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4107, allocations: 55.41 kB / 0.6073 GB, free: 4.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.4117, allocations: 0.7927 MB / 0.6081 GB, free: 3.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.4118, allocations: 29.7 kB / 0.6081 GB, free: 3.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.4122, allocations: 0.6035 MB / 0.6087 GB, free: 3.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4124, allocations: 146.9 kB / 0.6088 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.4127, allocations: 238.7 kB / 0.6091 GB, free: 2.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4129, allocations: 386.7 kB / 0.6094 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.4133, allocations: 242.5 kB / 0.6097 GB, free: 2.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4143, allocations: 0.9739 MB / 0.6106 GB, free: 0.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.416, allocations: 1.319 MB / 0.6119 GB, free: 15.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.416, allocations: 8 kB / 0.6119 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002118/0.4181, allocations: 1.2 MB / 0.6131 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.4182, allocations: 18.53 kB / 0.6131 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/0.4182, allocations: 32 kB / 0.6131 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.973e-05/0.4182, allocations: 32 kB / 0.6131 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/0.4191, allocations: 279.4 kB / 0.6134 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.091e-05/0.4191, allocations: 55.73 kB / 0.6135 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.4198, allocations: 51.98 kB / 0.6135 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4199, allocations: 76 kB / 0.6136 GB, free: 13.49 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.0004839/0.4204, allocations: 333.1 kB / 0.6139 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4206, allocations: 79.48 kB / 0.614 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.4215, allocations: 481 kB / 0.6144 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4215, allocations: 4 kB / 0.6144 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4215, allocations: 0 / 0.6144 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4215, allocations: 0 / 0.6144 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.4234, allocations: 0.9638 MB / 0.6154 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4234, allocations: 0 / 0.6154 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.4237, allocations: 71.84 kB / 0.6155 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4237, allocations: 0 / 0.6155 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4237, allocations: 15.94 kB / 0.6155 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.4237, allocations: 3.984 kB / 0.6155 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4237, allocations: 4 kB / 0.6155 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4248, allocations: 0.6492 MB / 0.6161 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.4251, allocations: 111.4 kB / 0.6162 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4252, allocations: 15.89 kB / 0.6162 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.4256, allocations: 12 kB / 0.6162 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4257, allocations: 23.95 kB / 0.6163 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.4257, allocations: 27.97 kB / 0.6163 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007017/0.4264, allocations: 0.4911 MB / 0.6168 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4264, allocations: 0 / 0.6168 GB, free: 10.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001341/0.4278, allocations: 299.7 kB / 0.6171 GB, free: 9.832 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.0006565/0.4284, allocations: 306.7 kB / 0.6174 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4296, allocations: 0.6136 MB / 0.618 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4297, allocations: 0 / 0.618 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.4299, allocations: 138.7 kB / 0.6181 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.4315, allocations: 320.8 kB / 0.6184 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.4343, allocations: 1.508 MB / 0.6199 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.4348, allocations: 400.7 kB / 0.6202 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.435, allocations: 79.42 kB / 0.6203 GB, free: 6.418 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.435, allocations: 0 / 0.6203 GB, free: 6.418 MB / 462.1 MB Notification: Performance of Templates: time 0.02452/0.4595, allocations: 13.63 MB / 0.6336 GB, free: 8.848 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: 9.79978876374662]