Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001863/0.001863, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.00236/0.00236, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.487/1.487, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 83.8 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3425, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003026/0.3455, allocations: 2.236 MB / 0.4994 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.3464, allocations: 0.6337 MB / 0.5001 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.3465, allocations: 7.156 kB / 0.5001 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.3466, allocations: 40.14 kB / 0.5001 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.3468, allocations: 68.41 kB / 0.5002 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3471, allocations: 90.89 kB / 0.5003 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3473, allocations: 345.7 kB / 0.5006 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.3475, allocations: 112.1 kB / 0.5007 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3478, allocations: 158.5 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3479, allocations: 125 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.348, allocations: 36.66 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.348, allocations: 38.84 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3481, allocations: 70.88 kB / 0.5011 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.3482, allocations: 132.9 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3485, allocations: 376.5 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3485, allocations: 6.578 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3485, allocations: 0 / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3485, allocations: 0 / 0.5016 GB, free: 27.11 MB / 446.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.0007587/0.3493, allocations: 0.5112 MB / 0.5021 GB, free: 26.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3493, allocations: 9.156 kB / 0.5021 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.3496, allocations: 52.95 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3497, allocations: 141.9 kB / 0.5023 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3497, allocations: 25.59 kB / 0.5023 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3498, allocations: 32.09 kB / 0.5024 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.3502, allocations: 278.9 kB / 0.5026 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3502, allocations: 0 / 0.5026 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3502, allocations: 19.19 kB / 0.5026 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3502, allocations: 9.688 kB / 0.5026 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3505, allocations: 212.5 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3519, allocations: 0.8502 MB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.3519, allocations: 29.39 kB / 0.5037 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.352, allocations: 24.75 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.352, allocations: 4 kB / 0.5037 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.352, allocations: 37.69 kB / 0.5038 GB, free: 25.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.352, allocations: 3.938 kB / 0.5038 GB, free: 25.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.3522, allocations: 71.55 kB / 0.5038 GB, free: 25.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3522, allocations: 51.41 kB / 0.5039 GB, free: 25.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3525, allocations: 268.8 kB / 0.5041 GB, free: 25.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.3525, allocations: 25.7 kB / 0.5042 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.3526, allocations: 250.5 kB / 0.5044 GB, free: 25.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3526, allocations: 14.22 kB / 0.5044 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.3527, allocations: 55.28 kB / 0.5045 GB, free: 25.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.3527, allocations: 329.4 kB / 0.5048 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3528, allocations: 64.73 kB / 0.5049 GB, free: 24.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3529, allocations: 92.64 kB / 0.5049 GB, free: 24.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3531, allocations: 121 kB / 0.5051 GB, free: 24.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3531, allocations: 3 kB / 0.5051 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003075/0.3534, allocations: 224.9 kB / 0.5053 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3534, allocations: 5.938 kB / 0.5053 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3534, allocations: 3.938 kB / 0.5053 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3535, allocations: 6.906 kB / 0.5053 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.3537, allocations: 58.72 kB / 0.5053 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3538, allocations: 4 kB / 0.5053 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.354, allocations: 34.61 kB / 0.5054 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.354, allocations: 12.48 kB / 0.5054 GB, free: 24.46 MB / 446.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 7.859e-05/0.3541, allocations: 133.8 kB / 0.5055 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3541, allocations: 14.12 kB / 0.5055 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.3541, allocations: 17.88 kB / 0.5056 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3541, allocations: 3.938 kB / 0.5056 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3541, allocations: 3.062 kB / 0.5056 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3541, allocations: 4 kB / 0.5056 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.3546, allocations: 423.9 kB / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3546, allocations: 3 kB / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.3546, allocations: 10.47 kB / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3546, allocations: 0 / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3546, allocations: 0 / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3546, allocations: 0 / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3546, allocations: 3.062 kB / 0.506 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.3547, allocations: 95.03 kB / 0.5061 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.3547, allocations: 22.42 kB / 0.5061 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3548, allocations: 10.56 kB / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3549, allocations: 0 / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3549, allocations: 0 / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3549, allocations: 7.078 kB / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.355, allocations: 180.3 kB / 0.5063 GB, free: 23.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.355, allocations: 0 / 0.5063 GB, free: 23.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3553, allocations: 77.84 kB / 0.5064 GB, free: 23.69 MB / 446.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 6.932e-05/0.3554, allocations: 88.5 kB / 0.5064 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3556, allocations: 109.9 kB / 0.5065 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3556, allocations: 0 / 0.5065 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.3556, allocations: 10.12 kB / 0.5066 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3559, allocations: 25.33 kB / 0.5066 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.3565, allocations: 368 kB / 0.5069 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.3565, allocations: 139.4 kB / 0.5071 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.328e-05/0.3566, allocations: 18.17 kB / 0.5071 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3567, allocations: 18.25 kB / 0.5071 GB, free: 23.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3567, allocations: 0 / 0.5071 GB, free: 23.2 MB / 446.1 MB Notification: Performance of Templates: time 0.003966/0.3606, allocations: 1.577 MB / 0.5086 GB, free: 22.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.9962980459677055]