Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.003096, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001951, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.023/1.023, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07845/1.102, allocations: 52.5 MB / 238.3 MB, free: 4.414 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.182e-05, allocations: 9.125 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006644/0.006666, allocations: 4.926 MB / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.01034, allocations: 2.105 MB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.01071, allocations: 16 kB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.01308, allocations: 1.474 MB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.01442, allocations: 0.5744 MB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.0161, allocations: 1.026 MB / 249.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01721, allocations: 0.7587 MB / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008332/0.01804, allocations: 0.5735 MB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.01866, allocations: 0.4949 MB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.01908, allocations: 339.2 kB / 251.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.01917, allocations: 75.88 kB / 251.9 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.01995, allocations: 387.4 kB / 252.3 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.02006, allocations: 119.6 kB / 252.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.02029, allocations: 211.6 kB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.02138, allocations: 0.798 MB / 253.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.89e-05/0.0214, allocations: 3.938 kB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.02141, allocations: 3.984 kB / 253.4 MB, free: 5.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.02143, allocations: 0 / 253.4 MB, free: 5.227 MB / 250.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.00377/0.0252, allocations: 1.663 MB / 255.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.02525, allocations: 12.02 kB / 255.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.02689, allocations: 0.5314 MB / 255.6 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.02708, allocations: 197.5 kB / 255.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.02713, allocations: 62.38 kB / 255.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.02721, allocations: 84.38 kB / 256 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.02785, allocations: 0.6519 MB / 256.6 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.02787, allocations: 4.188 kB / 256.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.02791, allocations: 32.38 kB / 256.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.02793, allocations: 23.94 kB / 256.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.02831, allocations: 293.8 kB / 257 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.03086, allocations: 1.895 MB / 258.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.03126, allocations: 346.5 kB / 259.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.03136, allocations: 94.31 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.03142, allocations: 24.48 kB / 259.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.03144, allocations: 39.06 kB / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.03145, allocations: 0 / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0009401/0.03239, allocations: 0.5678 MB / 259.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.03242, allocations: 55.91 kB / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.03259, allocations: 290.6 kB / 260.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.03262, allocations: 37.7 kB / 260.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.03277, allocations: 359.8 kB / 260.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.03287, allocations: 206.2 kB / 260.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.033, allocations: 134.6 kB / 261 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.03309, allocations: 350.7 kB / 261.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.03318, allocations: 77.95 kB / 261.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.03339, allocations: 349.4 kB / 261.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.03372, allocations: 467.3 kB / 262.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.03373, allocations: 4 kB / 262.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004503/0.03418, allocations: 462.9 kB / 262.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.0342, allocations: 8 kB / 262.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.03421, allocations: 8 kB / 262.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.03447, allocations: 85.84 kB / 262.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.03482, allocations: 183.7 kB / 262.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.03616, allocations: 2.407 MB / 265.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.03639, allocations: 87.41 kB / 265.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.03642, allocations: 27.98 kB / 265.4 MB, free: 8.516 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.0001213/0.03654, allocations: 157.6 kB / 265.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.03659, allocations: 39.97 kB / 265.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.03697, allocations: 356.3 kB / 266 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.03698, allocations: 4 kB / 266 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.03698, allocations: 4 kB / 266 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.03698, allocations: 7.984 kB / 266 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.03763, allocations: 0.6548 MB / 266.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.03764, allocations: 0 / 266.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.03788, allocations: 107.9 kB / 266.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.03796, allocations: 59.58 kB / 266.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.03815, allocations: 69.64 kB / 266.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.03816, allocations: 12 kB / 266.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009406/0.03911, allocations: 2.384 MB / 269.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03911, allocations: 0 / 269.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.03951, allocations: 472.4 kB / 269.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.03954, allocations: 12 kB / 269.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.03968, allocations: 28.08 kB / 269.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.03974, allocations: 36.56 kB / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.03975, allocations: 8 kB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.957e-05/0.03982, allocations: 104.5 kB / 269.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03982, allocations: 0 / 269.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.04024, allocations: 215.5 kB / 270.1 MB, free: 3.562 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.0001895/0.04043, allocations: 148.2 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.04089, allocations: 0.5573 MB / 270.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.04091, allocations: 12.48 kB / 270.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.04114, allocations: 387.1 kB / 271.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.04137, allocations: 88.86 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.04678, allocations: 1.18 MB / 272.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.04686, allocations: 140.1 kB / 272.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.04708, allocations: 84.33 kB / 272.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.04724, allocations: 127.3 kB / 272.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04725, allocations: 0 / 272.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of Templates: time 0.009101/0.05635, allocations: 6.406 MB / 279.2 MB, free: 10.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.6715057753026485]