Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008238/0.008238, allocations: 102.8 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 220 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.94 MB / 362.3 MB, free: 4.199 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 79.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3319, allocations: 66.08 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00379/0.3357, allocations: 2.386 MB / 0.5651 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3368, allocations: 0.674 MB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.3369, allocations: 4 kB / 0.5657 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.051e-05/0.337, allocations: 43.52 kB / 0.5658 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.3372, allocations: 71.33 kB / 0.5658 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3374, allocations: 95.81 kB / 0.5659 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.3378, allocations: 343.2 kB / 0.5663 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.3381, allocations: 119.6 kB / 0.5664 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.3383, allocations: 155.5 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3385, allocations: 151.4 kB / 0.5667 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.3386, allocations: 36 kB / 0.5667 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.3387, allocations: 32 kB / 0.5667 GB, free: 164 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.3387, allocations: 71.83 kB / 0.5668 GB, free: 92 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3389, allocations: 159.3 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.3393, allocations: 384.8 kB / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3393, allocations: 0 / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3393, allocations: 3.938 kB / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3393, allocations: 4 kB / 0.5673 GB, free: 15.55 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.0009042/0.3402, allocations: 0.5055 MB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3403, allocations: 12.03 kB / 0.5678 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.3406, allocations: 48.69 kB / 0.5679 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3408, allocations: 146.1 kB / 0.568 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.3408, allocations: 25.03 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.3409, allocations: 28.38 kB / 0.5681 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.3414, allocations: 282.4 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3414, allocations: 0 / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3414, allocations: 16 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.3414, allocations: 12 kB / 0.5684 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.3419, allocations: 210.5 kB / 0.5686 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3436, allocations: 1.002 MB / 0.5695 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.3436, allocations: 26.58 kB / 0.5696 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.3437, allocations: 20.92 kB / 0.5696 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3437, allocations: 4 kB / 0.5696 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3437, allocations: 34.55 kB / 0.5696 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3437, allocations: 0 / 0.5696 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000211/0.344, allocations: 77.48 kB / 0.5697 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.344, allocations: 51.41 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3444, allocations: 328.1 kB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3444, allocations: 25.7 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.3446, allocations: 235.5 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.3446, allocations: 3.953 kB / 0.5703 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.3447, allocations: 57.64 kB / 0.5704 GB, free: 12.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3449, allocations: 330.8 kB / 0.5707 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.345, allocations: 68.09 kB / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3452, allocations: 93.67 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3454, allocations: 125.6 kB / 0.571 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3454, allocations: 0 / 0.571 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004249/0.3458, allocations: 234 kB / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3458, allocations: 6.188 kB / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3458, allocations: 11.97 kB / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3458, allocations: 0 / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3461, allocations: 55.94 kB / 0.5712 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3461, allocations: 7.938 kB / 0.5713 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3463, allocations: 35.67 kB / 0.5713 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3464, allocations: 12 kB / 0.5713 GB, free: 11.28 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.0001288/0.3465, allocations: 129.8 kB / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3465, allocations: 23.86 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.3466, allocations: 24.92 kB / 0.5715 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3466, allocations: 11.88 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3466, allocations: 0 / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3466, allocations: 0 / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.3472, allocations: 490.4 kB / 0.5719 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3472, allocations: 0 / 0.5719 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.3472, allocations: 4 kB / 0.572 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3472, allocations: 0 / 0.572 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3472, allocations: 12 kB / 0.572 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3472, allocations: 4 kB / 0.572 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3472, allocations: 0 / 0.572 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3474, allocations: 101.8 kB / 0.5721 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3474, allocations: 23.84 kB / 0.5721 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3475, allocations: 0 / 0.5721 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3476, allocations: 4 kB / 0.5721 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3476, allocations: 4.031 kB / 0.5721 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3476, allocations: 3.984 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.3478, allocations: 227.1 kB / 0.5723 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3478, allocations: 0 / 0.5723 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3481, allocations: 63.89 kB / 0.5724 GB, free: 10.08 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 9.87e-05/0.3482, allocations: 99.12 kB / 0.5725 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3485, allocations: 99.89 kB / 0.5726 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3485, allocations: 4.062 kB / 0.5726 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.3485, allocations: 12 kB / 0.5726 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3488, allocations: 24.86 kB / 0.5726 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.3495, allocations: 401.4 kB / 0.573 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3498, allocations: 0.7401 MB / 0.5737 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.3499, allocations: 23.44 kB / 0.5737 GB, free: 8.613 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3499, allocations: 0 / 0.5737 GB, free: 8.613 MB / 414.1 MB Notification: Performance of Templates: time 0.005088/0.355, allocations: 2.726 MB / 0.5764 GB, free: 5.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.4133939819876105]