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.00178/0.00178, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002319/0.002319, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2167/0.2167, allocations: 44.91 MB / 358.8 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [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.001984/0.001984, allocations: 69.78 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02408/0.3255, allocations: 18.04 MB / 0.5746 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3363, allocations: 7.101 MB / 0.5816 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.3373, allocations: 27.75 kB / 0.5816 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.3386, allocations: 389.5 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.3407, allocations: 0.6917 MB / 0.5826 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.3446, allocations: 1.35 MB / 0.584 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.3483, allocations: 2.56 MB / 0.5865 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.3495, allocations: 0.5651 MB / 0.587 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.3518, allocations: 1.063 MB / 0.5881 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.3534, allocations: 0.8057 MB / 0.5888 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.3537, allocations: 88 kB / 0.5889 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3553, allocations: 0.6201 MB / 0.5895 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.3558, allocations: 382.9 kB / 0.5899 GB, free: 6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.3569, allocations: 0.5134 MB / 0.5904 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.3603, allocations: 1.614 MB / 0.592 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3603, allocations: 0 / 0.592 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3604, allocations: 0 / 0.592 GB, free: 3.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.268e-05/0.3604, allocations: 0 / 0.592 GB, free: 3.867 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.00314/0.3636, allocations: 1.237 MB / 0.5932 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3636, allocations: 8.031 kB / 0.5932 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.3639, allocations: 151.2 kB / 0.5933 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.3644, allocations: 124.3 kB / 0.5935 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3658, allocations: 0.5416 MB / 0.594 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.3661, allocations: 410.9 kB / 0.5944 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.3663, allocations: 84.08 kB / 0.5945 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.3685, allocations: 1.3 MB / 0.5957 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.3685, allocations: 7.938 kB / 0.5957 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.3686, allocations: 36 kB / 0.5958 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.3687, allocations: 49.23 kB / 0.5958 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.3704, allocations: 0.9611 MB / 0.5967 GB, free: 14.7 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.007866/0.3783, allocations: 7.002 MB / 0.6036 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.3789, allocations: 292.7 kB / 0.6039 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3792, allocations: 161.6 kB / 0.604 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.381, allocations: 0.8558 MB / 0.6049 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.381, allocations: 42.78 kB / 0.6049 GB, free: 5.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.381, allocations: 0 / 0.6049 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002389/0.3834, allocations: 1.038 MB / 0.6059 GB, free: 4.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3835, allocations: 55.41 kB / 0.606 GB, free: 4.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3846, allocations: 0.8759 MB / 0.6068 GB, free: 3.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.3846, allocations: 37.64 kB / 0.6069 GB, free: 3.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.3851, allocations: 0.5921 MB / 0.6074 GB, free: 3.195 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3852, allocations: 135 kB / 0.6076 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.3855, allocations: 246.7 kB / 0.6078 GB, free: 2.816 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3857, allocations: 394.7 kB / 0.6082 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.3861, allocations: 250.4 kB / 0.6084 GB, free: 2.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.3871, allocations: 0.97 MB / 0.6094 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.3887, allocations: 1.32 MB / 0.6106 GB, free: 15.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.3887, allocations: 8 kB / 0.6107 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002044/0.3908, allocations: 1.212 MB / 0.6118 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.3908, allocations: 16 kB / 0.6119 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.3909, allocations: 24 kB / 0.6119 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.866e-05/0.3909, allocations: 40.06 kB / 0.6119 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.3917, allocations: 275.5 kB / 0.6122 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-05/0.3918, allocations: 51.8 kB / 0.6122 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.3925, allocations: 55.98 kB / 0.6123 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3926, allocations: 72 kB / 0.6123 GB, free: 13.41 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.0004654/0.393, allocations: 346 kB / 0.6127 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.3932, allocations: 91.44 kB / 0.6128 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.3941, allocations: 484.1 kB / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3941, allocations: 4 kB / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3941, allocations: 0 / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3941, allocations: 3.984 kB / 0.6132 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.396, allocations: 1.065 MB / 0.6143 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.396, allocations: 3.938 kB / 0.6143 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.3963, allocations: 67.91 kB / 0.6143 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3963, allocations: 4.188 kB / 0.6143 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3963, allocations: 15.98 kB / 0.6144 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.3963, allocations: 7.938 kB / 0.6144 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3963, allocations: 0 / 0.6144 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.3973, allocations: 0.6528 MB / 0.615 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.3976, allocations: 135.3 kB / 0.6151 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3978, allocations: 8 kB / 0.6151 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3982, allocations: 12 kB / 0.6152 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3982, allocations: 23.95 kB / 0.6152 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.3982, allocations: 23.98 kB / 0.6152 GB, free: 10.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008202/0.3991, allocations: 0.6048 MB / 0.6158 GB, free: 9.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3991, allocations: 3.938 kB / 0.6158 GB, free: 9.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001174/0.4002, allocations: 303.6 kB / 0.6161 GB, free: 9.453 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.001755/0.402, allocations: 1.398 MB / 0.6175 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.4032, allocations: 0.6186 MB / 0.6181 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4032, allocations: 448 / 0.6181 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.4034, allocations: 144.7 kB / 0.6182 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4053, allocations: 426.5 kB / 0.6186 GB, free: 6.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.4172, allocations: 8.023 MB / 0.6264 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4179, allocations: 1.005 MB / 0.6274 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.419, allocations: 318.9 kB / 0.6277 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.4194, allocations: 295.3 kB / 0.628 GB, free: 12.32 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4194, allocations: 7.938 kB / 0.628 GB, free: 12.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06614/0.4855, allocations: 25.66 MB / 0.6531 GB, free: 2.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.36, allocations: 7.031 kB / 0.6531 GB, free: 2.906 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] 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: 16.441546607995406]