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.001286/0.001286, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001419/0.001419, allocations: 217.4 kB / 24.47 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.514/1.514, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2859/0.2859, allocations: 46.88 MB / 361.1 MB, free: 4.648 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-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.002188/0.002188, allocations: 91.8 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4481, 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.004001/0.4521, allocations: 2.398 MB / 0.5635 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.4536, allocations: 0.6701 MB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4537, allocations: 4 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.4538, allocations: 39.58 kB / 0.5642 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.454, allocations: 75.33 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.4543, allocations: 91.83 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.4547, allocations: 343.3 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.455, allocations: 119.3 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.4553, allocations: 151.5 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.4555, allocations: 147.4 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.4556, allocations: 32 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.143e-05/0.4556, allocations: 39.94 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.4557, allocations: 71.81 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.4559, allocations: 159.2 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.4563, allocations: 385.1 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4563, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4563, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4563, 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.001036/0.4574, allocations: 0.5847 MB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4574, allocations: 12.03 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.4577, allocations: 48.69 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4579, allocations: 200 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.4579, allocations: 29.02 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.458, allocations: 28.38 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.4585, allocations: 282.4 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4585, allocations: 4 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.4586, allocations: 16 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4586, allocations: 8 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.459, allocations: 210.5 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4608, allocations: 1.032 MB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.4608, allocations: 30.58 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.4609, allocations: 24.92 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4609, allocations: 0 / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.4609, allocations: 42.55 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.461, allocations: 4 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.4612, allocations: 73.48 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.4612, allocations: 51.41 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.4616, allocations: 322.8 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4616, allocations: 29.7 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4618, allocations: 231.5 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.4618, allocations: 11.95 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.4619, allocations: 61.77 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4621, allocations: 330.8 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4622, allocations: 63.97 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4624, allocations: 85.67 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4626, allocations: 126.1 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4626, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000413/0.463, allocations: 237.5 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4631, allocations: 4 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4631, allocations: 3.938 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4631, allocations: 4 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.4634, allocations: 55.89 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4634, allocations: 0 / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4636, allocations: 39.67 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.4637, allocations: 15.98 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.0001411/0.4638, allocations: 133.8 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.4639, allocations: 23.84 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.4639, allocations: 28.83 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4639, allocations: 4 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4639, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4639, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.4646, allocations: 0.511 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4646, allocations: 0 / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.4646, allocations: 8.062 kB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4646, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4646, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4646, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4646, allocations: 4 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.4648, allocations: 101.8 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.4649, allocations: 105 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.4649, allocations: 4.031 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.465, allocations: 3.938 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.465, allocations: 3.984 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.465, allocations: 4 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.4653, allocations: 218 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4653, allocations: 0 / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.4655, 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.0001068/0.4656, allocations: 99.25 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.4659, allocations: 107.8 kB / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4659, allocations: 0 / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.4659, allocations: 12 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.0003184/0.4662, allocations: 30.94 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.4671, allocations: 375.2 kB / 0.5717 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4675, allocations: 0.744 MB / 0.5724 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.4676, allocations: 25.92 kB / 0.5724 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.4677, allocations: 19.44 kB / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4677, allocations: 0 / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of Templates: time 0.005451/0.4731, allocations: 1.875 MB / 0.5743 GB, free: 7.195 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 cvode -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.297096766997129]