Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001326/0.001326, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001468/0.001468, allocations: 216.7 kB / 23 MB, free: 5.574 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.432/1.432, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2282, allocations: 53.33 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006698/0.2349, allocations: 5.099 MB / 434.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.2383, allocations: 2.179 MB / 437.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.2385, allocations: 20 kB / 437.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.2417, allocations: 1.407 MB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009193/0.2426, allocations: 429.4 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.2451, allocations: 1.213 MB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008376/0.2459, allocations: 0.7395 MB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.2467, allocations: 0.4988 MB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.2471, allocations: 330.8 kB / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.2476, allocations: 430.3 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2477, allocations: 68 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.2484, allocations: 411.6 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.2486, allocations: 163.4 kB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.2489, allocations: 378.2 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2503, allocations: 1.214 MB / 444.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2503, allocations: 4 kB / 444.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2503, allocations: 0 / 444.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2503, allocations: 0 / 444.3 MB, free: 8.961 MB / 350.1 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.004269/0.2546, allocations: 1.477 MB / 445.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2546, allocations: 12.03 kB / 445.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.2573, allocations: 368.1 kB / 446.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2575, allocations: 260.1 kB / 446.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.2576, allocations: 62.38 kB / 446.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2577, allocations: 88.33 kB / 446.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.2595, allocations: 0.876 MB / 447.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.2595, allocations: 0 / 447.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.2596, allocations: 36 kB / 447.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.2596, allocations: 20 kB / 447.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.2614, allocations: 0.7847 MB / 448.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.2661, allocations: 3.026 MB / 451.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2674, allocations: 0.9534 MB / 452.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.2679, allocations: 218.4 kB / 452.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.2681, allocations: 186.7 kB / 452.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.2681, allocations: 39.12 kB / 452.7 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.653e-06/0.2681, allocations: 0 / 452.7 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007263/0.2754, allocations: 2.393 MB / 455.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.2755, allocations: 85.67 kB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.2758, allocations: 303.1 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.2759, allocations: 41.7 kB / 455.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2761, allocations: 371.9 kB / 455.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.2763, allocations: 214.2 kB / 456.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.2765, allocations: 150.5 kB / 456.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2767, allocations: 346.8 kB / 456.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.2775, allocations: 265.8 kB / 456.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009535/0.2784, allocations: 0.5159 MB / 457.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.2801, allocations: 0.8074 MB / 458.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2801, allocations: 4 kB / 458.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002079/0.2822, allocations: 0.895 MB / 459.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2822, allocations: 8 kB / 459.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2823, allocations: 8 kB / 459.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.2825, allocations: 73.61 kB / 459.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.2833, allocations: 199.7 kB / 459.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.2857, allocations: 2.864 MB / 462.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.2863, allocations: 55.95 kB / 462.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.2863, allocations: 39.98 kB / 462.3 MB, free: 5.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002856/0.2866, allocations: 217.6 kB / 462.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.2867, allocations: 43.72 kB / 462.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2886, allocations: 0.7312 MB / 463.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2887, allocations: 4 kB / 463.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2887, allocations: 4 kB / 463.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2887, allocations: 3.984 kB / 463.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.2914, allocations: 1.413 MB / 464.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2914, allocations: 4 kB / 464.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.2921, allocations: 135.8 kB / 464.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.2923, allocations: 53.69 kB / 464.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.2923, allocations: 15.98 kB / 464.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.2946, allocations: 2.853 MB / 467.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2946, allocations: 3.984 kB / 467.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.2971, allocations: 1.071 MB / 468.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.2974, allocations: 168.7 kB / 469 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.2974, allocations: 8 kB / 469 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.2979, allocations: 52 kB / 469.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.298, allocations: 44.64 kB / 469.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.2981, allocations: 23.97 kB / 469.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.2983, allocations: 207.1 kB / 469.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 469.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007025/0.299, allocations: 179.9 kB / 469.5 MB, free: 14.23 MB / 382.1 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 (58): * Single equations (assignments): 56 * 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.0002914/0.2993, allocations: 171 kB / 469.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3013, allocations: 0.8728 MB / 470.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3013, allocations: 0 / 470.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.3023, allocations: 0.5243 MB / 471.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.3027, allocations: 48.52 kB / 471.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3053, allocations: 1.213 MB / 472.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.3059, allocations: 0.881 MB / 473.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.3062, allocations: 88.52 kB / 473.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3064, allocations: 47.42 kB / 473.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3064, allocations: 0 / 473.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01347/0.3199, allocations: 6.766 MB / 480.1 MB, free: 3.559 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.565682156942785]