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.001387/0.001387, allocations: 112.3 kB / 21.17 MB, free: 0.7812 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.001337/0.001337, allocations: 213.3 kB / 24.46 MB, free: 4.359 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.504/1.504, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2435/0.2435, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.002382/0.002382, allocations: 79.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3633, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004312/0.3676, allocations: 2.397 MB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3688, allocations: 0.6739 MB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.3689, allocations: 4 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.369, allocations: 43.58 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3692, allocations: 63.34 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3695, allocations: 95.88 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.37, allocations: 347.2 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.3702, allocations: 119.3 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3705, allocations: 143.6 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3707, allocations: 159.4 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3708, allocations: 32 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.3709, allocations: 36 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.3709, allocations: 75.75 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3711, allocations: 155.3 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.3716, allocations: 385.1 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3716, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3716, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3716, allocations: 0 / 0.5658 GB, free: 340 kB / 398.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.001077/0.3727, allocations: 0.5808 MB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3728, allocations: 8.031 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.3731, allocations: 56.69 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3733, allocations: 200 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.3734, allocations: 21.03 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.3734, allocations: 32.38 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.3739, allocations: 286.3 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3739, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.374, allocations: 12 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.374, allocations: 8 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.3744, allocations: 218.5 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3764, allocations: 1.029 MB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.3764, allocations: 34.5 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.3765, allocations: 24.92 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3765, allocations: 3.938 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3766, allocations: 38.56 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3766, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002568/0.3768, allocations: 77.48 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3769, allocations: 55.39 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.3773, allocations: 322.9 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3773, allocations: 25.7 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3775, allocations: 235.5 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3775, allocations: 20.06 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.3776, allocations: 53.66 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3778, allocations: 330.8 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3779, allocations: 63.97 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.378, allocations: 85.69 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3783, allocations: 118.2 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3783, allocations: 4 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004108/0.3787, allocations: 237.4 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3787, allocations: 8 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3787, allocations: 3.938 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3787, allocations: 0 / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.379, allocations: 59.91 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.379, allocations: 0 / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3793, allocations: 43.66 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3793, allocations: 4 kB / 0.5699 GB, free: 11.84 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.0001302/0.3794, allocations: 137.8 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.3795, allocations: 23.86 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.3795, allocations: 20.83 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3795, allocations: 4 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3795, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3795, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.3802, allocations: 0.5149 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3802, allocations: 3.984 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.3803, allocations: 0 / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3803, allocations: 4 kB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3803, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3803, allocations: 3.938 kB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3803, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3804, allocations: 101.8 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.3805, allocations: 108.9 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.3806, allocations: 0 / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3807, allocations: 4 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3807, allocations: 0 / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3807, allocations: 4 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.381, allocations: 225.9 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.381, allocations: 0 / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3812, allocations: 63.89 kB / 0.5711 GB, free: 10.52 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.0001012/0.3813, allocations: 95.28 kB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.3816, allocations: 99.91 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3816, allocations: 0 / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.3816, allocations: 15.92 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3819, allocations: 24.77 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.3826, allocations: 387.2 kB / 0.5717 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.383, allocations: 0.7401 MB / 0.5724 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3831, allocations: 25.94 kB / 0.5724 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.3831, allocations: 15.44 kB / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3831, allocations: 0 / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of Templates: time 0.005283/0.3884, allocations: 1.894 MB / 0.5743 GB, free: 7.191 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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.227567550260574]