Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0009205/0.0009205, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009533/0.0009533, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9231/0.9231, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.12e-05, allocations: 5.828 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004268/0.00429, allocations: 4.946 MB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.00696, allocations: 2.159 MB / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.007182, allocations: 16 kB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.008763, allocations: 1.485 MB / 282.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007168/0.00948, allocations: 425 kB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.01069, allocations: 1.148 MB / 283.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.01131, allocations: 0.7781 MB / 284.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.01194, allocations: 0.6123 MB / 285.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.01238, allocations: 486.9 kB / 285.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01268, allocations: 347.1 kB / 285.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.01275, allocations: 75.94 kB / 286 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.01336, allocations: 411.3 kB / 286.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.01344, allocations: 175.3 kB / 286.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.01361, allocations: 255.3 kB / 286.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.01444, allocations: 0.9031 MB / 287.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01444, allocations: 0 / 287.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01444, allocations: 0 / 287.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.01445, allocations: 0 / 287.7 MB, free: 2.879 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002356/0.01681, allocations: 1.463 MB / 289.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.01684, allocations: 8.031 kB / 289.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.0183, allocations: 0.5158 MB / 289.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.01844, allocations: 204.7 kB / 289.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.01848, allocations: 66.38 kB / 289.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.01856, allocations: 80.38 kB / 290 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1017/0.1202, allocations: 0.6354 MB / 290.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/0.1203, allocations: 8.234 kB / 290.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.1203, allocations: 35.03 kB / 290.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1203, allocations: 21.53 kB / 290.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.1209, allocations: 291.2 kB / 291 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.124, allocations: 1.897 MB / 292.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.1246, allocations: 340.8 kB / 293.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1247, allocations: 95.34 kB / 293.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.1248, allocations: 30.47 kB / 293.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1248, allocations: 38.16 kB / 293.4 MB, free: 18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.537e-06/0.1248, allocations: 1.844 kB / 293.4 MB, free: 18 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001212/0.1261, allocations: 0.5653 MB / 294 MB, free: 17.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1261, allocations: 83.02 kB / 294 MB, free: 17.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1263, allocations: 294.9 kB / 294.3 MB, free: 17.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1263, allocations: 34.83 kB / 294.4 MB, free: 17.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1265, allocations: 368.1 kB / 294.7 MB, free: 17.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1266, allocations: 209.9 kB / 294.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1267, allocations: 143.1 kB / 295.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.1268, allocations: 353.9 kB / 295.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1269, allocations: 78.45 kB / 295.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1272, allocations: 343.4 kB / 295.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.1276, allocations: 473.1 kB / 296.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.1276, allocations: 2.375 kB / 296.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006875/0.1283, allocations: 463.2 kB / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1283, allocations: 10.05 kB / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1284, allocations: 11.97 kB / 296.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/0.1288, allocations: 85.69 kB / 296.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.1292, allocations: 172.1 kB / 297 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009588/0.1302, allocations: 2.396 MB / 299.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.1305, allocations: 81.72 kB / 299.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.1306, allocations: 32.69 kB / 299.5 MB, free: 14.1 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.1307, allocations: 162.7 kB / 299.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.1308, allocations: 43.14 kB / 299.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.1314, allocations: 344.4 kB / 300.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1314, allocations: 5.938 kB / 300.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1314, allocations: 2.188 kB / 300.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1314, allocations: 2.859 kB / 300.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1324, allocations: 0.6628 MB / 300.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1324, allocations: 2.25 kB / 300.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1327, allocations: 102.1 kB / 300.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.133, allocations: 83.27 kB / 300.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.1331, allocations: 9.391 kB / 300.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008477/0.1339, allocations: 2.385 MB / 303.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1339, allocations: 1.094 kB / 303.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.1345, allocations: 483.9 kB / 303.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1346, allocations: 59.5 kB / 303.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1347, allocations: 12.08 kB / 303.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.1349, allocations: 24.61 kB / 303.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.135, allocations: 42 kB / 303.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.135, allocations: 11.06 kB / 303.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1351, allocations: 101.4 kB / 304 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1351, allocations: 0 / 304 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006775/0.1358, allocations: 223.5 kB / 304.2 MB, free: 11.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002155/0.136, allocations: 142.1 kB / 304.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.1366, allocations: 0.5549 MB / 304.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/0.1366, allocations: 4.625 kB / 304.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.137, allocations: 393 kB / 305.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1372, allocations: 54.47 kB / 305.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1391, allocations: 1.065 MB / 306.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1392, allocations: 138.7 kB / 306.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1394, allocations: 79.16 kB / 306.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.1397, allocations: 120.3 kB / 306.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1397, allocations: 0 / 306.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Templates: time 0.0101/0.1498, allocations: 6.516 MB / 313.3 MB, free: 8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.7992908959276974]