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.001593/0.001593, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002275/0.002275, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.649/1.649, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2414/0.2414, allocations: 46.96 MB / 360.9 MB, free: 4.121 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.003149/0.003149, allocations: 67.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3791, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.005086/0.3842, allocations: 2.234 MB / 0.5632 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3859, allocations: 0.635 MB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.386, allocations: 4 kB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3861, allocations: 43.58 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.3864, allocations: 71.33 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.3869, allocations: 95.83 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.3873, allocations: 339.2 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.3877, allocations: 123.6 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.388, allocations: 147.5 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.3884, allocations: 155.4 kB / 0.5648 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.3885, allocations: 32 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3886, allocations: 36 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.3887, allocations: 71.81 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3889, allocations: 135.4 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.3895, allocations: 388.9 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3895, allocations: 0 / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3895, allocations: 0 / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3895, allocations: 0 / 0.5654 GB, free: 15.68 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.001206/0.3907, allocations: 0.5094 MB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3907, allocations: 8.031 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.3911, allocations: 56.69 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3914, allocations: 146.1 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.3914, allocations: 21.03 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.3915, allocations: 32.38 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.3922, allocations: 282.4 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3922, allocations: 4 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3923, allocations: 8 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3923, allocations: 12 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3929, allocations: 214.5 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.3951, allocations: 0.8463 MB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3952, allocations: 30.58 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.3953, allocations: 32.84 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3953, allocations: 4 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3953, allocations: 30.56 kB / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.3953, allocations: 0 / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002878/0.3956, allocations: 73.48 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3957, allocations: 55.41 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.3961, allocations: 263.7 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.3962, allocations: 25.7 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3964, allocations: 255.5 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3964, allocations: 11.94 kB / 0.5683 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3965, allocations: 61.59 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3968, allocations: 322.8 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3969, allocations: 63.97 kB / 0.5687 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.3971, allocations: 89.67 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3974, allocations: 126.1 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3974, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005649/0.398, allocations: 225.5 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.398, allocations: 8.031 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.398, allocations: 4 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.3981, allocations: 3.938 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.3984, allocations: 55.95 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.3985, allocations: 4 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.3988, allocations: 31.73 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.3988, allocations: 11.92 kB / 0.5692 GB, free: 11.6 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.0001883/0.399, allocations: 133.8 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.399, allocations: 15.91 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.3991, allocations: 16.66 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3991, allocations: 3.938 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3991, allocations: 3.984 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3991, allocations: 0 / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.3999, allocations: 423.1 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3999, allocations: 0 / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3999, allocations: 11.92 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3999, allocations: 0 / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4, allocations: 4 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4, allocations: 3.938 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4, allocations: 8.062 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.4002, allocations: 85.91 kB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.4002, allocations: 27.81 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.4003, allocations: 0 / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4004, allocations: 7.984 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.4004, allocations: 0 / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4004, allocations: 3.938 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.4007, allocations: 184.6 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4007, allocations: 3.938 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.4011, allocations: 75.78 kB / 0.5702 GB, free: 10.54 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.0001436/0.4013, allocations: 99.22 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.4016, allocations: 99.89 kB / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4016, allocations: 0 / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.4017, allocations: 12 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.4021, allocations: 19.27 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.4031, allocations: 375.7 kB / 0.5708 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.4033, allocations: 133.8 kB / 0.5709 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.4034, allocations: 17.64 kB / 0.5709 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.4035, allocations: 15.44 kB / 0.5709 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4035, allocations: 0 / 0.5709 GB, free: 9.723 MB / 414.1 MB Notification: Performance of Templates: time 0.007714/0.4112, allocations: 1.93 MB / 0.5728 GB, free: 7.824 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/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: 5.544720476958901]