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.0009465/0.0009465, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001014/0.001014, allocations: 170.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.981/0.981, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2594/0.2594, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.165e-05, allocations: 3.188 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002546/0.002567, allocations: 2.373 MB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003657, allocations: 0.6667 MB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.003746, allocations: 4 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.997e-05/0.003816, allocations: 39.58 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.003975, allocations: 79.22 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.00427, allocations: 99.84 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.004545, allocations: 351.6 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.004733, allocations: 114.4 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.005017, allocations: 215.6 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005156, allocations: 111.7 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.00519, allocations: 32 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.005253, allocations: 43.97 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.005297, allocations: 71.75 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.005382, allocations: 115.7 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.005618, allocations: 239.2 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00562, allocations: 0 / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005621, allocations: 0 / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005626, allocations: 0 / 329.8 MB, free: 3.152 MB / 298.7 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.0005125/0.006138, allocations: 0.4937 MB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.006172, allocations: 12.03 kB / 330.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.006367, allocations: 64.83 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.006512, allocations: 145.4 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.006537, allocations: 25.03 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.006569, allocations: 32.38 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.006784, allocations: 203.3 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006794, allocations: 4.188 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.006811, allocations: 16.38 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.00682, allocations: 11.94 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.00692, allocations: 80.48 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008744/0.007795, allocations: 0.6755 MB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.495e-05/0.00784, allocations: 18.58 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.007863, allocations: 20.84 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.00787, allocations: 0 / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.007888, allocations: 30.56 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.00789, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001061/0.007996, allocations: 45.69 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.008024, allocations: 51.41 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.008176, allocations: 239.1 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.008185, allocations: 29.7 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.008288, allocations: 244.3 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-06/0.008298, allocations: 15.94 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.008356, allocations: 53.59 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.008434, allocations: 334.7 kB / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.008466, allocations: 24.48 kB / 332.6 MB, free: 168 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.62e-05/0.008512, allocations: 54.17 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.00858, allocations: 61.67 kB / 332.7 MB, free: 40 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008583, allocations: 0 / 332.7 MB, free: 40 kB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001424/0.008725, allocations: 134.1 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008738, allocations: 8 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008743, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.008752, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.008894, allocations: 64.39 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.008898, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.008995, allocations: 31.72 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.009003, allocations: 7.938 kB / 332.9 MB, free: 15.79 MB / 314.7 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 7.22e-05/0.009075, allocations: 125.6 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.009098, allocations: 15.98 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.009121, allocations: 20.67 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.009122, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009124, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.009126, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.009404, allocations: 339.6 kB / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.009407, allocations: 4 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.009418, allocations: 4 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00942, allocations: 0 / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-06/0.009424, allocations: 0 / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.009426, allocations: 4 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.009429, allocations: 8.047 kB / 333.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.222e-05/0.009491, allocations: 77.84 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.009515, allocations: 11.91 kB / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.00953, allocations: 4 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.009569, allocations: 0 / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.009581, allocations: 7.922 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.009583, allocations: 4 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.009638, allocations: 70.91 kB / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009638, allocations: 0 / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.009793, allocations: 67.84 kB / 333.7 MB, free: 14.98 MB / 314.7 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 6.845e-05/0.009862, allocations: 84.38 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.009969, allocations: 81 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.009978, allocations: 4 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.009989, allocations: 12.8 kB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.0101, allocations: 21.7 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.01052, allocations: 359.2 kB / 334.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.01057, allocations: 79.97 kB / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.239e-05/0.01063, allocations: 17.64 kB / 334.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.0107, allocations: 67.36 kB / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0107, allocations: 0 / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003371/0.01407, allocations: 1.703 MB / 336.1 MB, free: 12.53 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.861726008821279]