Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.002397/0.002397, allocations: 82.03 kB / 20.68 MB, free: 1.035 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.002368/0.002368, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.715e-05/4.939e-05, allocations: 2.281 kB / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003869/0.003919, allocations: 2.24 MB / 442.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.005186, allocations: 0.6272 MB / 443 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.005284, allocations: 7.938 kB / 443 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.005383, allocations: 39.58 kB / 443 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.005582, allocations: 83.27 kB / 443.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.005905, allocations: 83.88 kB / 443.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.006312, allocations: 359 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.006573, allocations: 103.8 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.006946, allocations: 219.5 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.00716, allocations: 111.7 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.007218, allocations: 32 kB / 444 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.00731, allocations: 40 kB / 444 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.007389, allocations: 71.78 kB / 444.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.007543, allocations: 115.7 kB / 444.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.008021, allocations: 390.7 kB / 444.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.008026, allocations: 4 kB / 444.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.008028, allocations: 0 / 444.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.00804, allocations: 0 / 444.6 MB, free: 3.668 MB / 366.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.001072/0.009112, allocations: 0.5054 MB / 445.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.009157, allocations: 8.031 kB / 445.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.009567, allocations: 48.73 kB / 445.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.009772, allocations: 148.5 kB / 445.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.009799, allocations: 21.03 kB / 445.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.009854, allocations: 36.38 kB / 445.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.01039, allocations: 282.6 kB / 445.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.0104, allocations: 4.188 kB / 445.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.01043, allocations: 12.36 kB / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.01045, allocations: 11.94 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.01089, allocations: 214.5 kB / 445.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.01268, allocations: 0.8466 MB / 446.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.01277, allocations: 30.58 kB / 446.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.01283, allocations: 24.86 kB / 446.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.01284, allocations: 4 kB / 446.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.01287, allocations: 30.56 kB / 446.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.01287, allocations: 0 / 446.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002354/0.01311, allocations: 73.53 kB / 446.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.01316, allocations: 63.47 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.01352, allocations: 266.9 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.01354, allocations: 25.7 kB / 447.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.01373, allocations: 251.3 kB / 447.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.01374, allocations: 7.953 kB / 447.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.01384, allocations: 57.66 kB / 447.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.01401, allocations: 326.8 kB / 447.8 MB, free: 244 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.01414, allocations: 59.98 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.01432, allocations: 97.67 kB / 448 MB, free: 80 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2074/0.2217, allocations: 115.8 kB / 448.1 MB, free: 21.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.2217, allocations: 1.188 kB / 448.1 MB, free: 21.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004439/0.2222, allocations: 224.4 kB / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2222, allocations: 12.31 kB / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2222, allocations: 0 / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2222, allocations: 2.312 kB / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.2226, allocations: 59.09 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2226, allocations: 1.188 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2228, allocations: 37.58 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2228, allocations: 6.406 kB / 448.4 MB, free: 21.25 MB / 366.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.0001091/0.2229, allocations: 138.3 kB / 448.6 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.223, allocations: 14.28 kB / 448.6 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.223, allocations: 21.97 kB / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.223, allocations: 1.75 kB / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.223, allocations: 0 / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.223, allocations: 0.6094 kB / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.2235, allocations: 431.6 kB / 449 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2235, allocations: 4.422 kB / 449 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.2235, allocations: 2.531 kB / 449 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2235, allocations: 5.188 kB / 449 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2236, allocations: 0.6562 kB / 449 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2236, allocations: 1.188 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2236, allocations: 8.938 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2237, allocations: 92.38 kB / 449.1 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.2237, allocations: 17.31 kB / 449.2 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.2237, allocations: 1.859 kB / 449.2 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2238, allocations: 1.125 kB / 449.2 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.2238, allocations: 6.344 kB / 449.2 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2239, allocations: 5.094 kB / 449.2 MB, free: 20.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.224, allocations: 183.3 kB / 449.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.224, allocations: 0 / 449.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2243, allocations: 71.66 kB / 449.4 MB, free: 20.66 MB / 366.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 8.474e-05/0.2244, allocations: 92.53 kB / 449.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2246, allocations: 103 kB / 449.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2246, allocations: 1.062 kB / 449.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.2246, allocations: 13.38 kB / 449.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2249, allocations: 23.28 kB / 449.7 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.2255, allocations: 360.9 kB / 450 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2256, allocations: 132.9 kB / 450.1 MB, free: 20.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.2257, allocations: 23.33 kB / 450.2 MB, free: 20.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.2257, allocations: 16.86 kB / 450.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2257, allocations: 0 / 450.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of Templates: time 0.004895/0.2306, allocations: 1.58 MB / 451.8 MB, free: 20.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.87015712633729]