Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001299/0.001299, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001427/0.001427, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.53/1.53, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.336, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003671/0.3397, allocations: 2.226 MB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3409, allocations: 0.6351 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.341, allocations: 4 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.3411, allocations: 39.58 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.3413, allocations: 71.28 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3415, allocations: 95.86 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.3419, allocations: 343.2 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3422, allocations: 123.6 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.3424, allocations: 151.5 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3426, allocations: 151.4 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.3427, allocations: 36 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.3428, allocations: 35.98 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.3428, allocations: 71.77 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.343, allocations: 127.5 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.3434, allocations: 392.8 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3434, allocations: 0 / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3434, allocations: 4 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3434, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.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.0009858/0.3444, allocations: 0.5016 MB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3444, allocations: 12.03 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.3448, allocations: 48.69 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.345, allocations: 146.1 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.345, allocations: 25.03 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.345, allocations: 28.38 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.3456, allocations: 278.4 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3456, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3456, allocations: 16 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3456, allocations: 8 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.346, allocations: 222.5 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3477, allocations: 0.8541 MB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.3478, allocations: 26.58 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.3479, allocations: 32.86 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.3479, allocations: 3.938 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3479, allocations: 34.56 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3479, allocations: 0 / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.3481, allocations: 69.53 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3482, allocations: 51.41 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.3485, allocations: 267.7 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3485, allocations: 25.7 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3487, allocations: 247.3 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.3487, allocations: 11.95 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3488, allocations: 61.77 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.349, allocations: 326.8 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3491, allocations: 71.91 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3493, allocations: 85.69 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3495, allocations: 118.2 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3495, allocations: 0 / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000415/0.3499, allocations: 233.5 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3499, allocations: 6.188 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3499, allocations: 4.031 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3499, allocations: 7.938 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.3502, allocations: 51.91 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3502, allocations: 3.984 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3505, allocations: 35.73 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3505, allocations: 8 kB / 0.57 GB, free: 11.62 MB / 414.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.0001258/0.3506, allocations: 137.7 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3507, allocations: 11.91 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.3507, allocations: 24.64 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3507, allocations: 3.938 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3507, allocations: 4 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3507, allocations: 0 / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.3513, allocations: 427.1 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3513, allocations: 0 / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.3513, allocations: 7.938 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3513, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3513, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3513, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3513, allocations: 3.984 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3514, allocations: 102 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3515, allocations: 23.83 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3515, allocations: 0 / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3516, allocations: 0 / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.3517, allocations: 7.938 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3517, allocations: 0 / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3519, allocations: 184.5 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3519, allocations: 0 / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3521, allocations: 71.78 kB / 0.5709 GB, free: 10.56 MB / 414.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 0.0001051/0.3522, allocations: 95.23 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3525, allocations: 103.9 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3525, allocations: 0 / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.3525, allocations: 12 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3528, allocations: 28.59 kB / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.3535, allocations: 397.4 kB / 0.5715 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3536, allocations: 129.8 kB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3537, allocations: 23.42 kB / 0.5717 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3537, allocations: 0 / 0.5717 GB, free: 9.723 MB / 414.1 MB Notification: Performance of Templates: time 0.004736/0.3584, allocations: 2.629 MB / 0.5742 GB, free: 7.098 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.805694363982184]