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/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_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_ModelicaTest.FluxTubes.Shapes.Leakage") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 185.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008285/0.0008285, allocations: 90.91 kB / 261.4 MB, free: 13.55 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.1561/0.1561, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.159e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3343, allocations: 86.89 MB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.3346, allocations: 63.97 kB / 0.5503 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009749/0.3443, allocations: 3.859 MB / 0.5541 GB, free: 8.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3443, allocations: 4 kB / 0.5541 GB, free: 8.121 MB / 394.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.0006279/0.345, allocations: 0.5177 MB / 0.5546 GB, free: 7.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.345, allocations: 8.031 kB / 0.5546 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.3451, allocations: 35.61 kB / 0.5546 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.3453, allocations: 206.5 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/0.3453, allocations: 20.66 kB / 0.5548 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.3454, allocations: 20 kB / 0.5549 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003284/0.3457, allocations: 185.3 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.3461, allocations: 212.8 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3461, allocations: 4 kB / 0.5553 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3461, allocations: 0 / 0.5553 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3461, allocations: 8 kB / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3476, allocations: 0.9685 MB / 0.5562 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.3477, allocations: 26.58 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.3477, allocations: 28.92 kB / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3478, allocations: 0 / 0.5563 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3478, allocations: 42.55 kB / 0.5563 GB, free: 5.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3478, allocations: 0 / 0.5563 GB, free: 5.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.348, allocations: 57.45 kB / 0.5564 GB, free: 5.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.348, allocations: 51.41 kB / 0.5564 GB, free: 5.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3482, allocations: 229.9 kB / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3482, allocations: 25.7 kB / 0.5566 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3483, allocations: 234.6 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.3483, allocations: 15.94 kB / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.3484, allocations: 0 / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.3485, allocations: 329.3 kB / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.3485, allocations: 48 kB / 0.5572 GB, free: 4.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3487, allocations: 85.7 kB / 0.5573 GB, free: 4.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3488, allocations: 59.97 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3488, allocations: 4 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002828/0.3491, allocations: 197.4 kB / 0.5576 GB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3491, allocations: 4 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3491, allocations: 3.984 kB / 0.5576 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3491, allocations: 7.906 kB / 0.5576 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3494, allocations: 63.83 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3494, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3497, allocations: 31.62 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3497, allocations: 7.984 kB / 0.5577 GB, free: 4.211 MB / 394.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 () * 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 6.364e-05/0.3497, allocations: 110.4 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3498, allocations: 19.81 kB / 0.5578 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.3498, allocations: 20.55 kB / 0.5578 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3498, allocations: 0 / 0.5578 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3498, allocations: 0 / 0.5578 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3499, allocations: 4 kB / 0.5578 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3503, allocations: 468 kB / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3503, allocations: 0 / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.3504, allocations: 7.938 kB / 0.5583 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3504, allocations: 3.938 kB / 0.5583 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3504, allocations: 0 / 0.5583 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3504, allocations: 4 kB / 0.5583 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3504, allocations: 0 / 0.5583 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001122/0.3505, allocations: 111.5 kB / 0.5584 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3506, allocations: 88.91 kB / 0.5585 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3506, allocations: 4 kB / 0.5585 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.3507, allocations: 0 / 0.5585 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.3507, allocations: 8 kB / 0.5585 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3507, allocations: 0 / 0.5585 GB, free: 3.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001311/0.3509, allocations: 163.2 kB / 0.5587 GB, free: 3.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.3511, allocations: 67.78 kB / 0.5587 GB, free: 3.047 MB / 394.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 () * 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 7.173e-05/0.3512, allocations: 95.19 kB / 0.5588 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3514, allocations: 107.9 kB / 0.5589 GB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3514, allocations: 0 / 0.5589 GB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.3514, allocations: 8 kB / 0.5589 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.3516, allocations: 16.67 kB / 0.5589 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.352, allocations: 233.2 kB / 0.5592 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.3524, allocations: 0.7783 MB / 0.5599 GB, free: 1.754 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3524, allocations: 3.938 kB / 0.5599 GB, free: 1.75 MB / 394.7 MB Notification: Performance of Templates: time 0.003973/0.3563, allocations: 1.827 MB / 0.5617 GB, free: 15.93 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches