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.001163/0.001163, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.001275/0.001275, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8582/0.8582, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1229/0.1229, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.19e-05, allocations: 5.516 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002405/0.002427, allocations: 2.161 MB / 410.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.003129, allocations: 0.6356 MB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.003202, allocations: 4 kB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.003271, allocations: 43.58 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.00339, allocations: 75.28 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.00358, allocations: 91.8 kB / 411.1 MB, free: 10 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.003789, allocations: 354.9 kB / 411.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.003979, allocations: 115.6 kB / 411.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004163, allocations: 211.6 kB / 411.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.004293, allocations: 115.7 kB / 411.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.004331, allocations: 32 kB / 411.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.54e-05/0.004356, allocations: 36 kB / 411.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004397, allocations: 67.8 kB / 412 MB, free: 9.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.004463, allocations: 111.7 kB / 412.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.004711, allocations: 390.7 kB / 412.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004713, allocations: 0 / 412.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004714, allocations: 0 / 412.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004718, allocations: 0 / 412.5 MB, free: 8.586 MB / 346.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.0005631/0.005281, allocations: 0.5055 MB / 413 MB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.005315, allocations: 12.02 kB / 413 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.005362, allocations: 40.64 kB / 413.1 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.005466, allocations: 137.4 kB / 413.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.005486, allocations: 29.03 kB / 413.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.005512, allocations: 28.38 kB / 413.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.005809, allocations: 282.6 kB / 413.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.005819, allocations: 192 / 413.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.005839, allocations: 16.38 kB / 413.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.005847, allocations: 11.94 kB / 413.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.006089, allocations: 214.5 kB / 413.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.007043, allocations: 0.835 MB / 414.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.825e-05/0.007101, allocations: 38.45 kB / 414.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.007142, allocations: 20.92 kB / 414.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.007151, allocations: 3.984 kB / 414.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.007167, allocations: 42.56 kB / 414.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.007168, allocations: 0 / 414.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.007318, allocations: 65.61 kB / 414.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.007343, allocations: 51.41 kB / 414.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.007527, allocations: 276 kB / 415.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.007536, allocations: 25.7 kB / 415.1 MB, free: 5.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.007628, allocations: 247.4 kB / 415.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.007639, allocations: 15.89 kB / 415.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.007696, allocations: 53.64 kB / 415.4 MB, free: 5.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.00777, allocations: 326.8 kB / 415.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.007846, allocations: 63.97 kB / 415.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.007934, allocations: 89.81 kB / 415.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.00806, allocations: 127 kB / 416 MB, free: 4.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008062, allocations: 0 / 416 MB, free: 4.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002281/0.00829, allocations: 229.5 kB / 416.2 MB, free: 4.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008303, allocations: 6.656 kB / 416.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008308, allocations: 0 / 416.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.008319, allocations: 4 kB / 416.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.008457, allocations: 51.91 kB / 416.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008461, allocations: 0 / 416.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.008806, allocations: 43.69 kB / 416.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.008817, allocations: 12 kB / 416.4 MB, free: 4.547 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.008892, allocations: 132 kB / 416.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.00891, allocations: 15.91 kB / 416.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.008932, allocations: 20.64 kB / 416.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.008933, allocations: 0 / 416.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.008936, allocations: 0 / 416.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008939, allocations: 7.938 kB / 416.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.009255, allocations: 423.1 kB / 416.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009256, allocations: 8 kB / 416.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.009267, allocations: 4 kB / 417 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.009268, allocations: 3.938 kB / 417 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.009275, allocations: 7.984 kB / 417 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009277, allocations: 3.938 kB / 417 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009277, allocations: 0 / 417 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.00935, allocations: 93.83 kB / 417.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.009373, allocations: 19.89 kB / 417.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.009388, allocations: 4 kB / 417.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.009431, allocations: 3.938 kB / 417.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.009442, allocations: 4.031 kB / 417.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.009444, allocations: 4 kB / 417.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.009552, allocations: 183.5 kB / 417.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009552, allocations: 0 / 417.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.009713, allocations: 71.78 kB / 417.3 MB, free: 3.488 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.62e-05/0.009769, allocations: 91.25 kB / 417.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.009915, allocations: 103.9 kB / 417.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009916, allocations: 0 / 417.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.009932, allocations: 16.06 kB / 417.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.01009, allocations: 20.72 kB / 417.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.0105, allocations: 385.9 kB / 417.9 MB, free: 2.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.01058, allocations: 133.9 kB / 418.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.01063, allocations: 20.5 kB / 418.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.01063, allocations: 0 / 418.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of Templates: time 0.002625/0.01325, allocations: 2.641 MB / 420.7 MB, free: 20 kB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/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: 4.297670860774815]