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.0009179/0.0009179, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003695/0.003695, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8712/0.8712, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2316/0.2316, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.742e-05, allocations: 6.281 kB / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.192/0.192, allocations: 16.22 MB / 457.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.1963, allocations: 6.479 MB / 463.5 MB, free: 33.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.1965, allocations: 28.94 kB / 463.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.1972, allocations: 373.9 kB / 463.9 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.198, allocations: 0.7257 MB / 464.7 MB, free: 32.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1996, allocations: 1.372 MB / 466 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.2008, allocations: 2.516 MB / 468.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.2012, allocations: 0.57 MB / 469.1 MB, free: 30.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.2021, allocations: 1.338 MB / 470.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.2026, allocations: 0.7197 MB / 471.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.2027, allocations: 84.72 kB / 471.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.2032, allocations: 493.1 kB / 471.7 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2034, allocations: 402.2 kB / 472.1 MB, free: 29.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.2036, allocations: 387.4 kB / 472.5 MB, free: 29.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2047, allocations: 1.641 MB / 474.1 MB, free: 28.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2047, allocations: 0 / 474.1 MB, free: 28.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2047, allocations: 0 / 474.1 MB, free: 28.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2047, allocations: 0 / 474.1 MB, free: 28.55 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.001299/0.206, allocations: 1.227 MB / 475.4 MB, free: 27.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.206, allocations: 9.625 kB / 475.4 MB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.2063, allocations: 133 kB / 475.5 MB, free: 27.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.2069, allocations: 0.5352 MB / 476 MB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.207, allocations: 413.1 kB / 476.4 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.2071, allocations: 78.48 kB / 476.5 MB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2082, allocations: 1.705 MB / 478.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2082, allocations: 7.344 kB / 478.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.2083, allocations: 48.33 kB / 478.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.2083, allocations: 40.38 kB / 478.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.2092, allocations: 0.9616 MB / 479.3 MB, free: 25.39 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.003169/0.2124, allocations: 5.806 MB / 485.1 MB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.2127, allocations: 299.1 kB / 485.4 MB, free: 20.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2129, allocations: 164 kB / 485.5 MB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/0.2137, allocations: 0.7649 MB / 486.3 MB, free: 20.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2137, allocations: 44.48 kB / 486.4 MB, free: 20.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.2137, allocations: 0 / 486.4 MB, free: 20.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001457/0.2152, allocations: 1.038 MB / 487.4 MB, free: 19.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2152, allocations: 54.19 kB / 487.4 MB, free: 19.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.2158, allocations: 0.7886 MB / 488.2 MB, free: 19.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2158, allocations: 33.05 kB / 488.3 MB, free: 19.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.216, allocations: 0.6022 MB / 488.9 MB, free: 18.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2161, allocations: 146.6 kB / 489 MB, free: 18.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2162, allocations: 236.6 kB / 489.2 MB, free: 18.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.2163, allocations: 384.8 kB / 489.6 MB, free: 17.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2166, allocations: 247.2 kB / 489.9 MB, free: 17.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.2171, allocations: 0.9659 MB / 490.8 MB, free: 16.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.218, allocations: 1.316 MB / 492.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.218, allocations: 7.406 kB / 492.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001441/0.2194, allocations: 1.208 MB / 493.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.2195, allocations: 16.56 kB / 493.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.2195, allocations: 30 kB / 493.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.451e-05/0.2196, allocations: 33.53 kB / 493.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.2202, allocations: 276.4 kB / 493.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.396e-05/0.2202, allocations: 49.08 kB / 493.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.2206, allocations: 53.64 kB / 493.8 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.2207, allocations: 79.28 kB / 493.9 MB, free: 15.02 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.0003046/0.221, allocations: 330 kB / 494.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.2211, allocations: 80.25 kB / 494.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.2218, allocations: 474 kB / 494.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.2218, allocations: 7.719 kB / 494.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2218, allocations: 0 / 494.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2218, allocations: 4.641 kB / 494.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.2227, allocations: 0.9626 MB / 495.7 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2227, allocations: 3.031 kB / 495.7 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2229, allocations: 63.67 kB / 495.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2229, allocations: 3.344 kB / 495.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2229, allocations: 16.39 kB / 495.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2229, allocations: 2.375 kB / 495.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2229, allocations: 6.312 kB / 495.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.2235, allocations: 0.6381 MB / 496.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2236, allocations: 108.1 kB / 496.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2236, allocations: 8.25 kB / 496.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2238, allocations: 18.12 kB / 496.6 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.2238, allocations: 27.97 kB / 496.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2239, allocations: 22.77 kB / 496.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003938/0.2243, allocations: 0.4937 MB / 497.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2243, allocations: 5.25 kB / 497.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007587/0.225, allocations: 302.9 kB / 497.4 MB, free: 13.25 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.0004006/0.2254, allocations: 313 kB / 497.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006345/0.2261, allocations: 0.6165 MB / 498.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.2261, allocations: 2.469 kB / 498.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2262, allocations: 143.4 kB / 498.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.227, allocations: 301.9 kB / 498.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2285, allocations: 1.431 MB / 0.4885 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2288, allocations: 402.3 kB / 0.4889 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.2289, allocations: 80.8 kB / 0.489 GB, free: 11.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2289, allocations: 1.094 kB / 0.489 GB, free: 11.82 MB / 410.7 MB Notification: Performance of Templates: time 0.01515/0.2441, allocations: 13.7 MB / 0.5023 GB, free: 8.18 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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: 5.730370455421507]