Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 206.9 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.89 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.88 kB / 0.495 GB, free: 8.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2982, allocations: 65.98 MB / 0.5594 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02004/0.3183, allocations: 17.86 MB / 0.5768 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.3278, allocations: 7.051 MB / 0.5837 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.3286, allocations: 23.88 kB / 0.5837 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3297, allocations: 389.5 kB / 0.5841 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.3316, allocations: 0.6878 MB / 0.5848 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.3352, allocations: 1.34 MB / 0.5861 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.3386, allocations: 2.533 MB / 0.5886 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.3396, allocations: 0.6077 MB / 0.5892 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.3416, allocations: 1.051 MB / 0.5902 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3428, allocations: 0.8057 MB / 0.591 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.343, allocations: 88 kB / 0.5911 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3444, allocations: 0.6006 MB / 0.5916 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.3448, allocations: 382.9 kB / 0.592 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.3454, allocations: 0.5134 MB / 0.5925 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.3477, allocations: 1.623 MB / 0.5941 GB, free: 1.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3477, allocations: 0 / 0.5941 GB, free: 1.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3477, allocations: 0 / 0.5941 GB, free: 1.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3477, allocations: 0 / 0.5941 GB, free: 1.535 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.002455/0.3502, allocations: 1.313 MB / 0.5954 GB, free: 172 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3502, allocations: 8.031 kB / 0.5954 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.3507, allocations: 124.3 kB / 0.5955 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3518, allocations: 0.6266 MB / 0.5961 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.352, allocations: 248.8 kB / 0.5963 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3521, allocations: 84.31 kB / 0.5964 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.3541, allocations: 1.301 MB / 0.5977 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.3541, allocations: 7.938 kB / 0.5977 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3542, allocations: 39.98 kB / 0.5977 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.3543, allocations: 41.3 kB / 0.5978 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3559, allocations: 0.9727 MB / 0.5987 GB, free: 12.51 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.007152/0.363, allocations: 7.079 MB / 0.6056 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.3636, allocations: 300.1 kB / 0.6059 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3638, allocations: 160.9 kB / 0.6061 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002742/0.3666, allocations: 2.827 MB / 0.6088 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3666, allocations: 42.73 kB / 0.6089 GB, free: 1.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.3666, allocations: 0 / 0.6089 GB, free: 1.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002321/0.369, allocations: 1.118 MB / 0.61 GB, free: 15.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.369, allocations: 55.41 kB / 0.61 GB, free: 15.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3701, allocations: 0.8837 MB / 0.6109 GB, free: 14.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.3701, allocations: 33.7 kB / 0.6109 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.3705, allocations: 0.5882 MB / 0.6115 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3707, allocations: 142.9 kB / 0.6116 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3709, allocations: 242.7 kB / 0.6119 GB, free: 13.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3711, allocations: 398.7 kB / 0.6123 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.3716, allocations: 242.5 kB / 0.6125 GB, free: 13.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.3725, allocations: 0.9621 MB / 0.6134 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3741, allocations: 1.323 MB / 0.6147 GB, free: 10.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.3741, allocations: 8 kB / 0.6147 GB, free: 10.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001872/0.3759, allocations: 1.211 MB / 0.6159 GB, free: 9.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.376, allocations: 19.94 kB / 0.6159 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.376, allocations: 24 kB / 0.6159 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.525e-05/0.3761, allocations: 36.81 kB / 0.616 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.3768, allocations: 279.5 kB / 0.6162 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-05/0.3769, allocations: 51.78 kB / 0.6163 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.3776, allocations: 56 kB / 0.6164 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.3776, allocations: 75.94 kB / 0.6164 GB, free: 8.574 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.00043/0.3781, allocations: 329.1 kB / 0.6167 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3782, allocations: 95.44 kB / 0.6168 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008791/0.3791, allocations: 486.8 kB / 0.6173 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3791, allocations: 7.984 kB / 0.6173 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3791, allocations: 0 / 0.6173 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3791, allocations: 0 / 0.6173 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3809, allocations: 1.243 MB / 0.6185 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3809, allocations: 0 / 0.6185 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.3812, allocations: 75.84 kB / 0.6186 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3812, allocations: 0 / 0.6186 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3812, allocations: 11.98 kB / 0.6186 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3812, allocations: 8.172 kB / 0.6186 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3812, allocations: 11.94 kB / 0.6186 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.3822, allocations: 0.6413 MB / 0.6192 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.3825, allocations: 204.4 kB / 0.6194 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.3826, allocations: 8 kB / 0.6194 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.383, allocations: 16 kB / 0.6195 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.383, allocations: 23.91 kB / 0.6195 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.3831, allocations: 27.97 kB / 0.6195 GB, free: 5.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007558/0.3838, allocations: 0.593 MB / 0.6201 GB, free: 4.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 4.062 kB / 0.6201 GB, free: 4.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001121/0.385, allocations: 307.6 kB / 0.6204 GB, free: 4.316 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.0006518/0.3856, allocations: 339.3 kB / 0.6207 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3867, allocations: 0.6072 MB / 0.6213 GB, free: 3.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3867, allocations: 8.062 kB / 0.6213 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3869, allocations: 140.7 kB / 0.6214 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.3886, allocations: 432 kB / 0.6219 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3909, allocations: 1.537 MB / 0.6234 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.3916, allocations: 1.001 MB / 0.6243 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3918, allocations: 83.42 kB / 0.6244 GB, free: 124 kB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3918, allocations: 0 / 0.6244 GB, free: 124 kB / 462.1 MB Notification: Performance of Templates: time 0.02205/0.4138, allocations: 14.91 MB / 0.639 GB, free: 1.281 MB / 478.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches