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.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001657/0.001657, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2664/0.2664, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.003037/0.003037, allocations: 63.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4205, allocations: 66.04 MB / 0.5611 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003932/0.4244, allocations: 2.234 MB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.4257, allocations: 0.6311 MB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4258, allocations: 4 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.4259, allocations: 43.58 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.4261, allocations: 71.34 kB / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.4264, allocations: 87.88 kB / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.4267, allocations: 339.2 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.427, allocations: 111.6 kB / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.4273, allocations: 155.5 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.4275, allocations: 135.4 kB / 0.5648 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.4275, allocations: 32 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.4276, allocations: 36 kB / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.4277, allocations: 71.77 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4278, allocations: 131.5 kB / 0.565 GB, free: 264 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.4283, allocations: 385.2 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4283, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4283, allocations: 4 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4283, allocations: 3.938 kB / 0.5654 GB, free: 15.87 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.0009391/0.4292, allocations: 0.4977 MB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4292, allocations: 12.03 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.4295, allocations: 52.69 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.4297, allocations: 146.1 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.4298, allocations: 33.03 kB / 0.5661 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.4298, allocations: 28.38 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.4303, allocations: 282.3 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.4303, allocations: 3.984 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.4304, allocations: 15.98 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4304, allocations: 11.94 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.4308, allocations: 214.5 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.4324, allocations: 0.8463 MB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.4325, allocations: 34.52 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.4325, allocations: 20.92 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.4325, allocations: 0 / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4326, allocations: 34.56 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4326, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002093/0.4328, allocations: 81.47 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4328, allocations: 51.41 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4332, allocations: 263.7 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4332, allocations: 29.64 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4333, allocations: 255.3 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.4334, allocations: 11.95 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.4335, allocations: 53.64 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4336, allocations: 322.8 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4337, allocations: 63.97 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4339, allocations: 85.81 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.4341, allocations: 130.2 kB / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4341, allocations: 3.938 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003918/0.4345, allocations: 225.5 kB / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4345, allocations: 4 kB / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4345, allocations: 0 / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4345, allocations: 7.938 kB / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.4348, allocations: 59.89 kB / 0.5691 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4348, allocations: 0 / 0.5691 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.4351, allocations: 39.77 kB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4351, allocations: 4 kB / 0.5692 GB, free: 11.8 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.0001303/0.4352, allocations: 133.8 kB / 0.5693 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.4353, allocations: 15.91 kB / 0.5693 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.4353, allocations: 16.64 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4353, allocations: 7.938 kB / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4353, allocations: 0 / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.4353, allocations: 3.984 kB / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.4359, allocations: 423.1 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4359, allocations: 8.062 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.4359, allocations: 3.938 kB / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4359, allocations: 4 kB / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4359, allocations: 0 / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4359, allocations: 4 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4359, allocations: 0 / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4361, allocations: 97.83 kB / 0.5699 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4361, allocations: 27.77 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4361, allocations: 0 / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.4362, allocations: 0 / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.4363, allocations: 11.97 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4363, allocations: 0 / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.4365, allocations: 188.6 kB / 0.5701 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4365, allocations: 0 / 0.5701 GB, free: 10.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4367, allocations: 71.78 kB / 0.5702 GB, free: 10.73 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.436e-05/0.4368, allocations: 91.25 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4371, allocations: 99.91 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4371, allocations: 0 / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.4371, allocations: 20.06 kB / 0.5704 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4374, allocations: 20.59 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.438, allocations: 363.6 kB / 0.5707 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.4382, allocations: 133.9 kB / 0.5709 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.4383, allocations: 17.64 kB / 0.5709 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.4383, allocations: 19.42 kB / 0.5709 GB, free: 9.926 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4383, allocations: 0 / 0.5709 GB, free: 9.926 MB / 414.1 MB Notification: Performance of Templates: time 0.005032/0.4433, allocations: 1.859 MB / 0.5727 GB, free: 8.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/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.468162400647998]