Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008135/0.0008135, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007831/0.0007831, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 34.24 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.269e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1878/0.1878, allocations: 16.2 MB / 458.4 MB, free: 34.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.192, allocations: 6.478 MB / 464.9 MB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.1923, allocations: 28.34 kB / 464.9 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.1929, allocations: 373.1 kB / 465.2 MB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007633/0.1936, allocations: 0.723 MB / 466 MB, free: 29.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1953, allocations: 1.383 MB / 467.3 MB, free: 28.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1965, allocations: 2.514 MB / 469.9 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.1969, allocations: 0.5702 MB / 470.4 MB, free: 27.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009164/0.1978, allocations: 1.33 MB / 471.8 MB, free: 26.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.1983, allocations: 0.7256 MB / 472.5 MB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.1984, allocations: 86.91 kB / 472.6 MB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.1989, allocations: 492.6 kB / 473.1 MB, free: 26.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1991, allocations: 396.8 kB / 473.4 MB, free: 26.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.1993, allocations: 382.7 kB / 473.8 MB, free: 26.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.2002, allocations: 1.643 MB / 475.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2002, allocations: 0 / 475.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2003, allocations: 0 / 475.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2003, allocations: 0 / 475.5 MB, free: 25.66 MB / 410.7 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.001268/0.2015, allocations: 1.229 MB / 476.7 MB, free: 24.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2016, allocations: 9.406 kB / 476.7 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2017, allocations: 143.3 kB / 476.8 MB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.2019, allocations: 125.6 kB / 477 MB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.2025, allocations: 0.5489 MB / 477.5 MB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2026, allocations: 415.9 kB / 477.9 MB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.2027, allocations: 78.53 kB / 478 MB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.2037, allocations: 1.697 MB / 479.7 MB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2037, allocations: 19.05 kB / 479.7 MB, free: 22.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.2038, allocations: 37.72 kB / 479.7 MB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.2038, allocations: 40.05 kB / 479.8 MB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.2047, allocations: 0.957 MB / 480.7 MB, free: 22.4 MB / 410.7 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.002836/0.2075, allocations: 5.91 MB / 486.6 MB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.2078, allocations: 300 kB / 486.9 MB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.208, allocations: 159.2 kB / 487.1 MB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/0.2087, allocations: 0.7994 MB / 487.9 MB, free: 17.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2088, allocations: 41.73 kB / 487.9 MB, free: 17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.031e-06/0.2088, allocations: 0 / 487.9 MB, free: 17 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00124/0.21, allocations: 1.032 MB / 489 MB, free: 16.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.21, allocations: 54.47 kB / 489 MB, free: 16.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.2106, allocations: 0.923 MB / 489.9 MB, free: 15.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2106, allocations: 36.89 kB / 490 MB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2108, allocations: 0.586 MB / 490.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.2108, allocations: 135.8 kB / 490.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.211, allocations: 246.5 kB / 490.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.2111, allocations: 397 kB / 491.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.2113, allocations: 244.2 kB / 491.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2118, allocations: 0.9599 MB / 492.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.2125, allocations: 1.328 MB / 493.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.2125, allocations: 7.656 kB / 493.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001102/0.2136, allocations: 1.211 MB / 495.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2137, allocations: 15.47 kB / 495.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.2137, allocations: 26.41 kB / 495.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.2137, allocations: 34.16 kB / 495.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.2142, allocations: 278.4 kB / 495.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.249e-05/0.2142, allocations: 54.14 kB / 495.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.2146, allocations: 54.09 kB / 495.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.2146, allocations: 71.47 kB / 495.6 MB, free: 11.91 MB / 410.7 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.0002346/0.2149, allocations: 336.9 kB / 495.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.2149, allocations: 91.84 kB / 496 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/0.2155, allocations: 484.3 kB / 496.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.2155, allocations: 7.531 kB / 496.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2155, allocations: 2.594 kB / 496.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2155, allocations: 3.422 kB / 496.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.2164, allocations: 1.016 MB / 497.5 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2164, allocations: 1.031 kB / 497.5 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2165, allocations: 67.89 kB / 497.6 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2165, allocations: 3.781 kB / 497.6 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2166, allocations: 21.2 kB / 497.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2166, allocations: 6.375 kB / 497.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2166, allocations: 8.312 kB / 497.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.2171, allocations: 0.6496 MB / 498.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.2173, allocations: 122.5 kB / 498.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.2173, allocations: 12.59 kB / 498.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2175, allocations: 13.42 kB / 498.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2175, allocations: 32.33 kB / 498.4 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2176, allocations: 25.17 kB / 498.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005243/0.2181, allocations: 0.5992 MB / 499.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2181, allocations: 0 / 499.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007777/0.2189, allocations: 302.5 kB / 499.4 MB, free: 10.02 MB / 410.7 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.001106/0.22, allocations: 1.413 MB / 0.489 GB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006763/0.2207, allocations: 0.6129 MB / 0.4896 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2207, allocations: 2.156 kB / 0.4896 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2208, allocations: 146.4 kB / 0.4898 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2219, allocations: 426.9 kB / 0.4902 GB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/0.2285, allocations: 7.928 MB / 0.4979 GB, free: 3.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2289, allocations: 403.4 kB / 0.4983 GB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007451/0.2296, allocations: 312.3 kB / 0.4986 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2299, allocations: 305.1 kB / 0.4989 GB, free: 3.031 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2299, allocations: 0 / 0.4989 GB, free: 3.031 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.2674, allocations: 26.68 MB / 0.525 GB, free: 15.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.623, allocations: 7.719 kB / 0.525 GB, free: 15.65 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.63261313829571]