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.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.001953/0.001953, allocations: 79.81 kB / 20.52 MB, free: 1.281 MB / 14.72 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.002442/0.002442, allocations: 167.8 kB / 23.77 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 67.91 kB / 407.7 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1598, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004551/0.1643, allocations: 2.169 MB / 471 MB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.166, allocations: 0.6357 MB / 471.6 MB, free: 5.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1661, allocations: 4 kB / 471.6 MB, free: 5.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1662, allocations: 35.59 kB / 471.6 MB, free: 5.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1665, allocations: 71.33 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1669, allocations: 91.88 kB / 471.8 MB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.1674, allocations: 351.1 kB / 472.1 MB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.1677, allocations: 107.8 kB / 472.2 MB, free: 4.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.168, allocations: 139.6 kB / 472.4 MB, free: 4.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.1683, allocations: 135.4 kB / 472.5 MB, free: 4.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.1684, allocations: 32 kB / 472.5 MB, free: 4.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.1685, allocations: 32 kB / 472.6 MB, free: 4.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1686, allocations: 75.73 kB / 472.6 MB, free: 4.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1688, allocations: 131.5 kB / 472.8 MB, free: 4.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.1693, allocations: 378.5 kB / 473.1 MB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1693, allocations: 3.938 kB / 473.1 MB, free: 3.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1693, allocations: 0 / 473.1 MB, free: 3.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1693, allocations: 0 / 473.1 MB, free: 3.918 MB / 446.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.001163/0.1705, allocations: 0.5094 MB / 473.7 MB, free: 3.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1705, allocations: 8.031 kB / 473.7 MB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1706, allocations: 32.75 kB / 473.7 MB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1708, allocations: 142.1 kB / 473.8 MB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1709, allocations: 21.03 kB / 473.9 MB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.1709, allocations: 32.38 kB / 473.9 MB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.1714, allocations: 286.3 kB / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1714, allocations: 0 / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.1715, allocations: 16 kB / 474.2 MB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.1715, allocations: 12 kB / 474.2 MB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.1719, allocations: 214.5 kB / 474.4 MB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1736, allocations: 0.835 MB / 475.2 MB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1737, allocations: 30.52 kB / 475.3 MB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.1738, allocations: 32.91 kB / 475.3 MB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1738, allocations: 0 / 475.3 MB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1739, allocations: 34.56 kB / 475.3 MB, free: 1.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1739, allocations: 0 / 475.3 MB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.1741, allocations: 69.55 kB / 475.4 MB, free: 1.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1741, allocations: 59.28 kB / 475.5 MB, free: 1.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.1745, allocations: 276 kB / 475.7 MB, free: 1.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1745, allocations: 25.7 kB / 475.8 MB, free: 1.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1747, allocations: 251.3 kB / 476 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1747, allocations: 20.06 kB / 476 MB, free: 0.8828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1748, allocations: 53.66 kB / 476.1 MB, free: 0.8242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.175, allocations: 322.8 kB / 476.4 MB, free: 0.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1752, allocations: 63.97 kB / 476.4 MB, free: 448 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1754, allocations: 98.17 kB / 476.5 MB, free: 344 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1756, allocations: 117.7 kB / 476.7 MB, free: 220 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1756, allocations: 0 / 476.7 MB, free: 220 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.2952/0.4708, allocations: 219.7 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4709, allocations: 5.969 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4709, allocations: 0.75 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.4709, allocations: 4.312 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.4713, allocations: 60.53 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.4713, allocations: 3.625 kB / 476.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4716, allocations: 29.84 kB / 477 MB, free: 50.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4716, allocations: 6.656 kB / 477 MB, free: 50.08 MB / 446.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.0001381/0.4717, allocations: 137.9 kB / 477.1 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.4718, allocations: 16.5 kB / 477.1 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.4718, allocations: 19.42 kB / 477.2 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4718, allocations: 0 / 477.2 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4718, allocations: 1.312 kB / 477.2 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4718, allocations: 3.594 kB / 477.2 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.4724, allocations: 427.7 kB / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4724, allocations: 0 / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.4724, allocations: 7.406 kB / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4724, allocations: 0 / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4724, allocations: 3.281 kB / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4724, allocations: 0 / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4724, allocations: 0 / 477.6 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.4725, allocations: 101 kB / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.4725, allocations: 23.39 kB / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4726, allocations: 0 / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.4727, allocations: 3.203 kB / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.4727, allocations: 3.594 kB / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.4727, allocations: 7.406 kB / 477.7 MB, free: 49.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.4729, allocations: 176.1 kB / 477.9 MB, free: 49.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4729, allocations: 2.5 kB / 477.9 MB, free: 49.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.4731, allocations: 74.81 kB / 478 MB, free: 49.49 MB / 446.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 7.926e-05/0.4732, allocations: 92.34 kB / 478.1 MB, free: 49.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4735, allocations: 110.7 kB / 478.2 MB, free: 49.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4735, allocations: 0 / 478.2 MB, free: 49.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.4735, allocations: 10.41 kB / 478.2 MB, free: 49.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4738, allocations: 21.45 kB / 478.2 MB, free: 49.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.4744, allocations: 374.8 kB / 478.6 MB, free: 49.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.4745, allocations: 140.1 kB / 478.7 MB, free: 49.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.603e-05/0.4746, allocations: 23.02 kB / 478.7 MB, free: 49.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.4746, allocations: 15.09 kB / 478.7 MB, free: 49.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4746, allocations: 0 / 478.7 MB, free: 49.1 MB / 446.1 MB Notification: Performance of Templates: time 0.004245/0.4788, allocations: 1.576 MB / 480.3 MB, free: 48.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.5511366170831025]