Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 194.4 kB / 16.79 MB, free: 6.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.6 MB, free: 4.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3107/0.3107, allocations: 43.49 MB / 313.5 MB, free: 8.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.89 kB / 382.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 57.79 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003242/0.1153, allocations: 2.358 MB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008528/0.1162, allocations: 0.6437 MB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.1163, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.1164, allocations: 31.77 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1166, allocations: 55.53 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1168, allocations: 79.88 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1171, allocations: 335.2 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.1173, allocations: 135.9 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1175, allocations: 127.6 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1177, allocations: 147.4 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.1177, allocations: 27.98 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.1178, allocations: 28 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1178, allocations: 63.75 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1179, allocations: 139.3 kB / 444.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1182, allocations: 366.9 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1182, allocations: 0 / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1182, allocations: 0 / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1183, allocations: 0 / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008794/0.1191, allocations: 0.5773 MB / 445 MB, free: 9.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1192, allocations: 12.03 kB / 445 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.1193, allocations: 66.72 kB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.1193, allocations: 32.56 kB / 445.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1195, allocations: 203.8 kB / 445.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.1196, allocations: 33.2 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.1196, allocations: 28.38 kB / 445.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.1201, allocations: 278 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1201, allocations: 4 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1201, allocations: 12 kB / 445.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1202, allocations: 11.94 kB / 445.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.1206, allocations: 218.5 kB / 445.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1221, allocations: 1.024 MB / 446.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.1222, allocations: 30.58 kB / 446.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.1223, allocations: 24.92 kB / 447 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.1223, allocations: 0 / 447 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1223, allocations: 38.5 kB / 447 MB, free: 7.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1223, allocations: 3.938 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.1225, allocations: 77.34 kB / 447.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1226, allocations: 55.41 kB / 447.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1229, allocations: 314.9 kB / 447.4 MB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1229, allocations: 29.7 kB / 447.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1231, allocations: 238.7 kB / 447.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.1231, allocations: 4.125 kB / 447.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.1232, allocations: 65.52 kB / 447.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1233, allocations: 330.8 kB / 448.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1234, allocations: 63.97 kB / 448.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1236, allocations: 94.42 kB / 448.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1238, allocations: 121.6 kB / 448.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1238, allocations: 0 / 448.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003638/0.1241, allocations: 238 kB / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1242, allocations: 15.86 kB / 448.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1242, allocations: 0 / 448.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1242, allocations: 3.938 kB / 448.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1245, allocations: 55.97 kB / 448.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1245, allocations: 0 / 448.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1247, allocations: 39.52 kB / 448.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1247, allocations: 8 kB / 448.7 MB, free: 5.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001113/0.1249, allocations: 141.8 kB / 448.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.1249, allocations: 23.66 kB / 448.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.125, allocations: 24.89 kB / 448.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.125, allocations: 0 / 448.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.125, allocations: 3.984 kB / 448.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.125, allocations: 0 / 448.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1255, allocations: 0.5072 MB / 449.4 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1255, allocations: 4.062 kB / 449.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.1256, allocations: 7.984 kB / 449.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1256, allocations: 0 / 449.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1256, allocations: 0 / 449.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1256, allocations: 0 / 449.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1256, allocations: 7.938 kB / 449.4 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1257, allocations: 97.66 kB / 449.5 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1258, allocations: 100.9 kB / 449.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1258, allocations: 4 kB / 449.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.1259, allocations: 4 kB / 449.6 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.126, allocations: 4 kB / 449.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.126, allocations: 4 kB / 449.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.1262, allocations: 221.9 kB / 449.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 449.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1265, allocations: 75.69 kB / 449.9 MB, free: 4.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003784/0.1268, allocations: 0.6365 MB / 450.6 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1271, allocations: 111.9 kB / 450.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1271, allocations: 0 / 450.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.1271, allocations: 16.03 kB / 450.7 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1274, allocations: 20.88 kB / 450.7 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.1299, allocations: 2.342 MB / 453.1 MB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1303, allocations: 0.7401 MB / 453.8 MB, free: 336 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1304, allocations: 25.94 kB / 453.8 MB, free: 308 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1305, allocations: 71.41 kB / 453.9 MB, free: 236 kB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1305, allocations: 0 / 453.9 MB, free: 236 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/0.2968, allocations: 3.847 MB / 457.7 MB, free: 48.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001208/0.2969, allocations: 191.3 kB / 457.9 MB, free: 48.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.025, allocations: 0 / 457.9 MB, free: 48.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches