Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001603/0.001603, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001761/0.001761, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 65.46 MB / 0.5582 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02162/0.3246, allocations: 18.03 MB / 0.5759 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3347, allocations: 7.097 MB / 0.5828 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.3357, allocations: 31.75 kB / 0.5828 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.3368, allocations: 385.5 kB / 0.5832 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.3385, allocations: 0.7034 MB / 0.5839 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.3422, allocations: 1.346 MB / 0.5852 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.3457, allocations: 2.556 MB / 0.5877 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.3468, allocations: 0.569 MB / 0.5882 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.3491, allocations: 1.063 MB / 0.5893 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.3507, allocations: 0.8096 MB / 0.5901 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.351, allocations: 84 kB / 0.5901 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.3527, allocations: 0.6201 MB / 0.5907 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.3532, allocations: 382.9 kB / 0.5911 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.3541, allocations: 0.5134 MB / 0.5916 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.3567, allocations: 1.615 MB / 0.5932 GB, free: 3.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3567, allocations: 0 / 0.5932 GB, free: 3.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3567, allocations: 4 kB / 0.5932 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3567, allocations: 0 / 0.5932 GB, free: 3.805 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.002514/0.3592, allocations: 1.229 MB / 0.5944 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3592, allocations: 8.031 kB / 0.5944 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.3597, allocations: 128.3 kB / 0.5945 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3609, allocations: 0.5454 MB / 0.5951 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.3612, allocations: 418.9 kB / 0.5955 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3613, allocations: 84.33 kB / 0.5955 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.3634, allocations: 1.301 MB / 0.5968 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.3634, allocations: 7.938 kB / 0.5968 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3635, allocations: 36 kB / 0.5969 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.3636, allocations: 37.3 kB / 0.5969 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.3652, allocations: 0.9649 MB / 0.5978 GB, free: 14.79 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.007848/0.3731, allocations: 7.006 MB / 0.6047 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.3736, allocations: 296.7 kB / 0.605 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3739, allocations: 157.6 kB / 0.6051 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.3757, allocations: 0.8519 MB / 0.6059 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3758, allocations: 38.8 kB / 0.606 GB, free: 5.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.3758, allocations: 4 kB / 0.606 GB, free: 5.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002391/0.3782, allocations: 1.038 MB / 0.607 GB, free: 4.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3782, allocations: 59.41 kB / 0.607 GB, free: 4.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3793, allocations: 0.8721 MB / 0.6079 GB, free: 3.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.3794, allocations: 33.7 kB / 0.6079 GB, free: 3.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.3799, allocations: 0.5921 MB / 0.6085 GB, free: 3.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.38, allocations: 138.9 kB / 0.6086 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.3803, allocations: 242.7 kB / 0.6089 GB, free: 2.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3805, allocations: 398.7 kB / 0.6093 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.3809, allocations: 254.4 kB / 0.6095 GB, free: 2.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.382, allocations: 0.9622 MB / 0.6104 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3836, allocations: 1.323 MB / 0.6117 GB, free: 15.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.3836, allocations: 8 kB / 0.6117 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002108/0.3857, allocations: 1.216 MB / 0.6129 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3857, allocations: 18.34 kB / 0.6129 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.3858, allocations: 24 kB / 0.613 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/0.3858, allocations: 36 kB / 0.613 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.3867, allocations: 279.5 kB / 0.6133 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/0.3867, allocations: 51.78 kB / 0.6133 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.3874, allocations: 52 kB / 0.6134 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.3875, allocations: 72 kB / 0.6134 GB, free: 13.5 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.0004983/0.388, allocations: 342.1 kB / 0.6138 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.3881, allocations: 91.44 kB / 0.6138 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.3891, allocations: 0.4908 MB / 0.6143 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3891, allocations: 0 / 0.6143 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.3891, allocations: 8 kB / 0.6143 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3891, allocations: 0 / 0.6143 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.3909, allocations: 1.061 MB / 0.6154 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3909, allocations: 12.17 kB / 0.6154 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.3912, allocations: 71.84 kB / 0.6154 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3912, allocations: 4 kB / 0.6155 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3913, allocations: 8 kB / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.3913, allocations: 4 kB / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3913, allocations: 0 / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.3922, allocations: 0.649 MB / 0.6161 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.3926, allocations: 131.3 kB / 0.6162 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3927, allocations: 8 kB / 0.6162 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.393, allocations: 19.98 kB / 0.6162 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3931, allocations: 24.02 kB / 0.6163 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.3931, allocations: 23.98 kB / 0.6163 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008164/0.394, allocations: 0.6007 MB / 0.6169 GB, free: 9.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 3.938 kB / 0.6169 GB, free: 9.836 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3951, allocations: 307.6 kB / 0.6172 GB, free: 9.535 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.0006095/0.3957, allocations: 306.6 kB / 0.6175 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.3969, allocations: 0.6146 MB / 0.6181 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3969, allocations: 0 / 0.6181 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.3971, allocations: 136.8 kB / 0.6182 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.3991, allocations: 434.1 kB / 0.6186 GB, free: 8.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.4017, allocations: 1.539 MB / 0.6201 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.4024, allocations: 0.9932 MB / 0.6211 GB, free: 5.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.4026, allocations: 87.42 kB / 0.6212 GB, free: 5.367 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4026, allocations: 0 / 0.6212 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Templates: time 0.02406/0.4267, allocations: 14.86 MB / 0.6357 GB, free: 6.59 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.158190903952345]