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.0008261/0.0008261, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.005212/0.005212, allocations: 158.8 kB / 24.7 MB, free: 9.43 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.864/0.864, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2507/0.2507, allocations: 32.78 MB / 294.2 MB, free: 1.211 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.904e-06/1.904e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.584e-05, allocations: 5.234 kB / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.0023/0.002325, allocations: 2.228 MB / 443.1 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.003126, allocations: 0.6427 MB / 443.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.003203, allocations: 4 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.78e-05/0.003271, allocations: 39.59 kB / 443.8 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003398, allocations: 79.2 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.00366, allocations: 95.78 kB / 443.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.003876, allocations: 359 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.004083, allocations: 111.8 kB / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1929/0.1969, allocations: 206.4 kB / 444.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1972, allocations: 110.3 kB / 444.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.1973, allocations: 33.59 kB / 444.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.1973, allocations: 40.61 kB / 444.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.1974, allocations: 73.48 kB / 444.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.1975, allocations: 108.6 kB / 444.9 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1978, allocations: 392 kB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1978, allocations: 3.391 kB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1978, allocations: 0 / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1978, allocations: 0 / 445.3 MB, free: 44 MB / 410.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.0005342/0.1983, allocations: 0.5079 MB / 445.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1983, allocations: 12.08 kB / 445.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1985, allocations: 46.08 kB / 445.9 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.1986, allocations: 155.8 kB / 446 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1986, allocations: 26.78 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1986, allocations: 27.62 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1989, allocations: 279.5 kB / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1989, allocations: 192 / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1989, allocations: 11.66 kB / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.199, allocations: 13.19 kB / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1992, allocations: 217.6 kB / 446.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.2001, allocations: 0.8373 MB / 447.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.2001, allocations: 28.27 kB / 447.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.2001, allocations: 28.84 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.2002, allocations: 0.625 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.2002, allocations: 35.41 kB / 447.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2002, allocations: 3.281 kB / 447.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000147/0.2003, allocations: 62.8 kB / 447.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.2003, allocations: 51.41 kB / 447.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2005, allocations: 272.8 kB / 447.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.2005, allocations: 25.7 kB / 447.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2006, allocations: 251.5 kB / 448.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-06/0.2006, allocations: 14.08 kB / 448.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.2006, allocations: 56.25 kB / 448.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.61e-05/0.2006, allocations: 331.2 kB / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.2007, allocations: 61.14 kB / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.2008, allocations: 98.5 kB / 448.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2009, allocations: 117.5 kB / 448.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2009, allocations: 0 / 448.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002033/0.2011, allocations: 236 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2011, allocations: 9.031 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2011, allocations: 0 / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2011, allocations: 2.938 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.2013, allocations: 53.88 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2013, allocations: 2.719 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.224e-05/0.2014, allocations: 35.98 kB / 449.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2014, allocations: 9.562 kB / 449.2 MB, free: 42.07 MB / 410.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 6.406e-05/0.2015, allocations: 139 kB / 449.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2015, allocations: 13.94 kB / 449.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.2015, allocations: 25.06 kB / 449.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2015, allocations: 0 / 449.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2015, allocations: 0 / 449.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2015, allocations: 2.406 kB / 449.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.2018, allocations: 429.5 kB / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2018, allocations: 0 / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.2018, allocations: 6.156 kB / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2018, allocations: 0 / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2018, allocations: 2.844 kB / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2018, allocations: 7.125 kB / 449.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2018, allocations: 4.219 kB / 449.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.2019, allocations: 91.47 kB / 449.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.2019, allocations: 18.05 kB / 449.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2019, allocations: 2.875 kB / 449.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.202, allocations: 3.938 kB / 449.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.202, allocations: 2.875 kB / 449.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.202, allocations: 0 / 449.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.842e-05/0.2021, allocations: 183.5 kB / 450.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2021, allocations: 2.844 kB / 450.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.2022, allocations: 72.03 kB / 450.2 MB, free: 41.33 MB / 410.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 7.585e-05/0.2023, allocations: 101.1 kB / 450.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2025, allocations: 101.9 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2025, allocations: 0 / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.2025, allocations: 9.219 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.2027, allocations: 24.44 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.2031, allocations: 390.7 kB / 450.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.2032, allocations: 135.8 kB / 450.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2032, allocations: 17.16 kB / 450.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2032, allocations: 0 / 450.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of Templates: time 0.002723/0.206, allocations: 2.648 MB / 453.6 MB, free: 40.59 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] 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.844892065040767]