Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001042, allocations: 99.52 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 183 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.000383, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2838/0.4052, allocations: 47.93 MB / 0.5072 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03014/0.4354, allocations: 26.13 MB / 0.5327 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.437, allocations: 39.5 kB / 0.5328 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.4391, allocations: 0.5736 MB / 0.5333 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.4556, allocations: 4.569 MB / 0.5378 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.4664, allocations: 3.194 MB / 0.5409 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.4694, allocations: 1.809 MB / 0.5427 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.4705, allocations: 0.6778 MB / 0.5433 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.4846, allocations: 9.545 MB / 0.5527 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/0.5019, allocations: 11.94 MB / 0.5643 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.5023, allocations: 60 kB / 0.5644 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01669/0.519, allocations: 8.116 MB / 0.5723 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.5196, allocations: 327.1 kB / 0.5726 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.5201, allocations: 257.1 kB / 0.5729 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.5291, allocations: 4.284 MB / 0.577 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5292, allocations: 0 / 0.577 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5292, allocations: 0 / 0.577 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.197e-05/0.5292, allocations: 4 kB / 0.577 GB, free: 10.61 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006198/0.5354, allocations: 2.023 MB / 0.579 GB, free: 8.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5355, allocations: 8.031 kB / 0.579 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.5404, allocations: 0.6442 MB / 0.5797 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.5422, allocations: 0.744 MB / 0.5804 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.5424, allocations: 209.5 kB / 0.5806 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.5426, allocations: 99.98 kB / 0.5807 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/0.5467, allocations: 1.838 MB / 0.5825 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.5468, allocations: 15.84 kB / 0.5825 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5469, allocations: 52 kB / 0.5825 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.547, allocations: 41.98 kB / 0.5826 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.551, allocations: 1.682 MB / 0.5842 GB, free: 3.016 MB / 414.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.01067/0.5617, allocations: 8.59 MB / 0.5926 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.5647, allocations: 1.029 MB / 0.5936 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04514/0.6099, allocations: 25.3 MB / 0.6183 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.61, allocations: 47.12 kB / 0.6184 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008167/0.6108, allocations: 102.9 kB / 0.6185 GB, free: 11.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.856e-06/0.6109, allocations: 0 / 0.6185 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01053/0.6214, allocations: 3.568 MB / 0.6219 GB, free: 7.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6215, allocations: 119.4 kB / 0.6221 GB, free: 7.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.6226, allocations: 0.8564 MB / 0.6229 GB, free: 6.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/0.6227, allocations: 41.7 kB / 0.6229 GB, free: 6.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.6231, allocations: 0.564 MB / 0.6235 GB, free: 6.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.6234, allocations: 272.1 kB / 0.6237 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.6235, allocations: 28 kB / 0.6238 GB, free: 6.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.6237, allocations: 414.7 kB / 0.6242 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/0.6246, allocations: 438.3 kB / 0.6246 GB, free: 5.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.626, allocations: 1.005 MB / 0.6256 GB, free: 3.914 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6272, allocations: 0.5847 MB / 0.6261 GB, free: 3.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.6272, allocations: 8 kB / 0.6262 GB, free: 3.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003408/0.6306, allocations: 1.752 MB / 0.6279 GB, free: 1.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.6306, allocations: 16.06 kB / 0.6279 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.6307, allocations: 20 kB / 0.6279 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.6334, allocations: 0.6222 MB / 0.6285 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.6342, allocations: 255.6 kB / 0.6287 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.6365, allocations: 1.847 MB / 0.6305 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6376, allocations: 131.8 kB / 0.6307 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6377, allocations: 75.98 kB / 0.6307 GB, free: 14.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],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 (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.6383, allocations: 339.5 kB / 0.6311 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.6385, allocations: 102.7 kB / 0.6312 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/0.6441, allocations: 4.524 MB / 0.6356 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.683e-05/0.6441, allocations: 59.91 kB / 0.6356 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6441, allocations: 0 / 0.6356 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6442, allocations: 3.984 kB / 0.6356 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/0.6517, allocations: 6.305 MB / 0.6418 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6517, allocations: 4 kB / 0.6418 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.6523, allocations: 175.7 kB / 0.642 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.6541, allocations: 0.6723 MB / 0.6426 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.6542, allocations: 27.98 kB / 0.6427 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.6558, allocations: 1.794 MB / 0.6444 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6558, allocations: 0 / 0.6444 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.6608, allocations: 3.982 MB / 0.6483 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.6616, allocations: 429.8 kB / 0.6487 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6617, allocations: 24 kB / 0.6487 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.6624, allocations: 95.72 kB / 0.6488 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6626, allocations: 80.81 kB / 0.6489 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.6627, allocations: 35.98 kB / 0.6489 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000974/0.6637, allocations: 0.651 MB / 0.6496 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6637, allocations: 0 / 0.6496 GB, free: 10.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004205/0.6679, allocations: 1.448 MB / 0.651 GB, free: 9.516 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005574/0.6735, allocations: 1.584 MB / 0.6525 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.6771, allocations: 1.687 MB / 0.6542 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6771, allocations: 0 / 0.6542 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.679, allocations: 1.224 MB / 0.6554 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.6816, allocations: 0.4967 MB / 0.6559 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/0.6874, allocations: 4.455 MB / 0.6602 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.6883, allocations: 1.422 MB / 0.6616 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001394/0.6897, allocations: 0.5812 MB / 0.6622 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.69, allocations: 103.4 kB / 0.6623 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.69, allocations: 0 / 0.6623 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.289/0.979, allocations: 58.22 MB / 0.7191 GB, free: 195.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches