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: translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 179.9 kB / 16.41 MB, free: 5.707 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.728/1.728, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001182/0.001183, allocations: 86.3 kB / 270.9 MB, free: 8.363 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.4102/0.4102, allocations: 43.57 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 8 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002795/0.1433, allocations: 1.91 MB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1446, allocations: 0.6322 MB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1449, allocations: 4 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.84e-05/0.145, allocations: 27.77 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.1453, allocations: 67.41 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1456, allocations: 63.92 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.1461, allocations: 319.2 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.1464, allocations: 114.8 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.1467, allocations: 111.6 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1469, allocations: 127.5 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.147, allocations: 16 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.165e-05/0.147, allocations: 16 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1471, allocations: 51.83 kB / 493.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1472, allocations: 73.58 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1475, allocations: 283.4 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1475, allocations: 0 / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1475, allocations: 3.938 kB / 494 MB, free: 7.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.1475, allocations: 0 / 494 MB, free: 7.402 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.0009361/0.1485, allocations: 0.5342 MB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1485, allocations: 8.031 kB / 494.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.1486, allocations: 35.58 kB / 494.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1489, allocations: 206.7 kB / 494.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.149, allocations: 24.66 kB / 494.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1491, allocations: 32 kB / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.1497, allocations: 274.1 kB / 495.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1497, allocations: 4 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.1497, allocations: 12 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1497, allocations: 8 kB / 495.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.1502, allocations: 218.5 kB / 495.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1521, allocations: 1.032 MB / 496.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.1522, allocations: 26.58 kB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.1523, allocations: 24.92 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1523, allocations: 4 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1524, allocations: 34.55 kB / 496.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1524, allocations: 0 / 496.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002176/0.1526, allocations: 77.45 kB / 496.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1526, allocations: 55.36 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.1531, allocations: 322.8 kB / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1531, allocations: 25.7 kB / 497 MB, free: 4.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1532, allocations: 230.8 kB / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1533, allocations: 7.906 kB / 497.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.1533, allocations: 8 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1535, allocations: 330.9 kB / 497.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1536, allocations: 67.97 kB / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1538, allocations: 93.67 kB / 497.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.154, allocations: 72 kB / 497.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.154, allocations: 0 / 497.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004151/0.1544, allocations: 241.3 kB / 498 MB, free: 3.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1544, allocations: 8.031 kB / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1545, allocations: 0 / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1545, allocations: 0 / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1548, allocations: 59.91 kB / 498 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.1548, allocations: 7.938 kB / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.1551, allocations: 43.53 kB / 498.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1551, allocations: 4 kB / 498.1 MB, free: 3.082 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.0001349/0.1552, allocations: 133.8 kB / 498.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1553, allocations: 23.81 kB / 498.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1553, allocations: 20.89 kB / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1554, allocations: 3.938 kB / 498.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1554, allocations: 4 kB / 498.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1554, allocations: 3.953 kB / 498.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.156, allocations: 0.5071 MB / 498.8 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.156, allocations: 7.938 kB / 498.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.1561, allocations: 4.062 kB / 498.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1561, allocations: 4 kB / 498.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1561, allocations: 3.953 kB / 498.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1561, allocations: 0 / 498.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1561, allocations: 0 / 498.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1562, allocations: 97.73 kB / 498.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.1563, allocations: 100.8 kB / 499 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1564, allocations: 4.031 kB / 499 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1565, allocations: 11.95 kB / 499 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1565, allocations: 0 / 499 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1565, allocations: 4 kB / 499 MB, free: 2.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1568, allocations: 225.9 kB / 499.2 MB, free: 1.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1568, allocations: 0 / 499.2 MB, free: 1.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.1571, allocations: 63.84 kB / 499.3 MB, free: 1.758 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 9.656e-05/0.1572, allocations: 99.19 kB / 499.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1574, allocations: 116.6 kB / 499.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1575, allocations: 0 / 499.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.1575, allocations: 15.94 kB / 499.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1578, allocations: 24.44 kB / 499.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.1586, allocations: 478.2 kB / 0.4883 GB, free: 1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1589, allocations: 0.752 MB / 0.489 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.159, allocations: 19.44 kB / 0.4891 GB, free: 208 kB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.159, allocations: 0 / 0.4891 GB, free: 208 kB / 378.7 MB Notification: Performance of Templates: time 0.2207/0.3797, allocations: 2.669 MB / 0.4917 GB, free: 42.46 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage --alarm=480 -emit_protected > 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/jenkins/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