Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 171.4 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007241/0.0007241, allocations: 85.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09576, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002154/0.09795, allocations: 1.911 MB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09898, allocations: 0.6244 MB / 493.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.09914, allocations: 4 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.09921, allocations: 31.7 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.0994, allocations: 63.53 kB / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.09962, allocations: 59.92 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.09994, allocations: 327.2 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1002, allocations: 127.9 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1004, allocations: 115.6 kB / 494.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1006, allocations: 131.4 kB / 494.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.1006, allocations: 16 kB / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.1007, allocations: 20 kB / 494.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1007, allocations: 47.83 kB / 494.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1009, allocations: 153.1 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1011, allocations: 279.4 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1011, allocations: 3.938 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1011, allocations: 0 / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1012, allocations: 0 / 494.8 MB, free: 6.637 MB / 378.7 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.0007806/0.1019, allocations: 0.5305 MB / 495.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.102, allocations: 12.03 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.1021, allocations: 66.72 kB / 495.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.1021, allocations: 32.56 kB / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1023, allocations: 204 kB / 495.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.1024, allocations: 29.22 kB / 495.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1024, allocations: 28.38 kB / 495.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.1029, allocations: 281.9 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1029, allocations: 4 kB / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.103, allocations: 8 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.103, allocations: 8 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1034, allocations: 218.5 kB / 496.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1049, allocations: 1.024 MB / 497.2 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.105, allocations: 34.52 kB / 497.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.1051, allocations: 28.91 kB / 497.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1051, allocations: 8 kB / 497.3 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1051, allocations: 42.48 kB / 497.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.1051, allocations: 0 / 497.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000192/0.1053, allocations: 73.36 kB / 497.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1054, allocations: 51.41 kB / 497.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.1058, allocations: 322.8 kB / 497.8 MB, free: 3.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1058, allocations: 25.7 kB / 497.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1059, allocations: 235 kB / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1059, allocations: 11.83 kB / 498.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.106, allocations: 8 kB / 498.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1061, allocations: 330.8 kB / 498.4 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1062, allocations: 63.97 kB / 498.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1063, allocations: 93.67 kB / 498.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1066, allocations: 125.7 kB / 498.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1066, allocations: 0 / 498.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003797/0.107, allocations: 233.9 kB / 498.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.107, allocations: 11.92 kB / 498.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.107, allocations: 0 / 498.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.107, allocations: 0 / 498.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1073, allocations: 55.91 kB / 499 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1073, allocations: 0 / 499 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.1076, allocations: 51.52 kB / 499 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1076, allocations: 4 kB / 499 MB, free: 2.191 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1077, allocations: 133.8 kB / 499.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.1078, allocations: 27.69 kB / 499.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.1078, allocations: 20.89 kB / 499.2 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1078, allocations: 4 kB / 499.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1078, allocations: 0 / 499.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1078, allocations: 0 / 499.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1084, allocations: 0.5109 MB / 499.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1084, allocations: 4 kB / 499.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1084, allocations: 3.984 kB / 499.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1084, allocations: 4 kB / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1085, allocations: 0 / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1085, allocations: 3.984 kB / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1085, allocations: 0 / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1086, allocations: 105.8 kB / 499.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1087, allocations: 108.7 kB / 499.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1087, allocations: 0 / 499.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1088, allocations: 4 kB / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.1088, allocations: 0 / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1089, allocations: 0 / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.1091, allocations: 234 kB / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1091, allocations: 0 / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.1094, allocations: 63.84 kB / 0.4885 GB, free: 0.8633 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003393/0.1097, allocations: 0.6325 MB / 0.4891 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.1099, allocations: 120.2 kB / 0.4892 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.11, allocations: 0 / 0.4892 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.11, allocations: 12 kB / 0.4892 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1103, allocations: 24.53 kB / 0.4893 GB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1537/0.264, allocations: 1.215 MB / 0.4904 GB, free: 42.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2642, allocations: 0.741 MB / 0.4912 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2643, allocations: 75.09 kB / 0.4912 GB, free: 41.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2643, allocations: 0 / 0.4912 GB, free: 41.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.463/2.727, allocations: 3.393 MB / 0.4946 GB, free: 41.73 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches