Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002423/0.002423, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00261/0.00261, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3413/0.3413, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 375.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.657e-05, allocations: 2.312 kB / 375.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004173/0.004199, allocations: 2.372 MB / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.005557, allocations: 0.6505 MB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.005656, allocations: 4 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.005749, allocations: 39.58 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.00596, allocations: 71.33 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.006279, allocations: 99.75 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.006712, allocations: 362.9 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.006988, allocations: 107.8 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.007385, allocations: 211.7 kB / 379.2 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.007599, allocations: 115.7 kB / 379.3 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.007659, allocations: 32 kB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.007753, allocations: 36 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.007832, allocations: 71.73 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.007973, allocations: 115.7 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.008488, allocations: 386.8 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.008491, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008492, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.008498, allocations: 4 kB / 379.9 MB, free: 356 kB / 346.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.001099/0.009597, allocations: 0.6361 MB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.009633, allocations: 8.031 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.00997, allocations: 72.73 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.01016, allocations: 152.1 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.0102, allocations: 29.03 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.01026, allocations: 28.38 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.0108, allocations: 270.6 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01081, allocations: 192 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.01085, allocations: 16.38 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.01086, allocations: 11.94 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.01132, allocations: 206.5 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.0133, allocations: 0.9709 MB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.0134, allocations: 47.05 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.01347, allocations: 23.75 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.01348, allocations: 0 / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.01352, allocations: 37.39 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.01352, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.01377, allocations: 69.55 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.01382, allocations: 55.39 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.01444, allocations: 345.5 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01447, allocations: 33.83 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.01472, allocations: 306 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.01473, allocations: 7.953 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.01489, allocations: 67.3 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.01521, allocations: 0.4962 MB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01536, allocations: 63.97 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01553, allocations: 99.84 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01577, allocations: 127.3 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01577, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005199/0.01629, allocations: 234 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01631, allocations: 8 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01631, allocations: 3.938 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01633, allocations: 0 / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.01665, allocations: 51.97 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01666, allocations: 3.984 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.01691, allocations: 35.67 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.01693, allocations: 12 kB / 384.4 MB, free: 11.64 MB / 362.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 0.000166/0.01709, allocations: 176.5 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01714, allocations: 19.94 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.01718, allocations: 20.64 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01719, allocations: 4 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01719, allocations: 0 / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01719, allocations: 3.938 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.01794, allocations: 0.5507 MB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01794, allocations: 4 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.01798, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.01799, allocations: 7.984 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.018, allocations: 4 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.01801, allocations: 12 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01801, allocations: 3.938 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01817, allocations: 108 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.01822, allocations: 23.89 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.01825, allocations: 0 / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01836, allocations: 3.938 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.01838, allocations: 4 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.01839, allocations: 3.938 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.01864, allocations: 228.5 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01864, allocations: 0 / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.01895, allocations: 75.81 kB / 385.6 MB, free: 10.32 MB / 362.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 0.000124/0.01908, allocations: 95.23 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.01937, allocations: 127.5 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01937, allocations: 0 / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.0194, allocations: 15.69 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01965, allocations: 22.59 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.02055, allocations: 391 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.0207, allocations: 133.8 kB / 386.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.02079, allocations: 17.64 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.02086, allocations: 16.5 kB / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02086, allocations: 0 / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of Templates: time 0.005463/0.02632, allocations: 1.601 MB / 388 MB, free: 7.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.886348798987456]