Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001574/0.001574, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001794/0.001794, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.81 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2286, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006737/0.2354, allocations: 5.103 MB / 437.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.2391, allocations: 2.179 MB / 439.4 MB, free: 84 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.2393, allocations: 16 kB / 439.4 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.2424, allocations: 1.419 MB / 440.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2435, allocations: 413.4 kB / 441.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.2458, allocations: 1.214 MB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.2467, allocations: 0.7317 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008175/0.2476, allocations: 0.5027 MB / 443.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.248, allocations: 334.8 kB / 444 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.2485, allocations: 422.3 kB / 444.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.2486, allocations: 68 kB / 444.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007964/0.2494, allocations: 415.6 kB / 444.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.2495, allocations: 167.4 kB / 445 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.2499, allocations: 378.2 kB / 445.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2513, allocations: 1.214 MB / 446.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2513, allocations: 0 / 446.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2513, allocations: 0 / 446.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2513, allocations: 0 / 446.6 MB, free: 8.809 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.004359/0.2557, allocations: 1.481 MB / 448.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2557, allocations: 11.97 kB / 448.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.2583, allocations: 368.1 kB / 448.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2585, allocations: 252.2 kB / 448.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.2586, allocations: 70.3 kB / 448.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2588, allocations: 84.38 kB / 448.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.2604, allocations: 0.876 MB / 449.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.2605, allocations: 3.953 kB / 449.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.2605, allocations: 36 kB / 449.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.2606, allocations: 20 kB / 449.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.2623, allocations: 0.7886 MB / 450.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.2669, allocations: 3.022 MB / 453.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.2683, allocations: 0.9616 MB / 454.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.2688, allocations: 214.5 kB / 454.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.269, allocations: 178.8 kB / 454.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.269, allocations: 47.06 kB / 455 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.269, allocations: 4 kB / 455 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007452/0.2764, allocations: 2.389 MB / 457.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.2765, allocations: 89.66 kB / 457.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.2769, allocations: 307.2 kB / 457.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.2769, allocations: 29.7 kB / 457.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.2772, allocations: 379.8 kB / 458.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.2774, allocations: 218.2 kB / 458.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.2776, allocations: 142.6 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.2778, allocations: 346.8 kB / 458.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.2786, allocations: 277.8 kB / 459.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.2795, allocations: 0.5003 MB / 459.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.2813, allocations: 0.8075 MB / 460.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2813, allocations: 0 / 460.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002117/0.2834, allocations: 0.891 MB / 461.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2834, allocations: 15.98 kB / 461.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2834, allocations: 4 kB / 461.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.2837, allocations: 77.67 kB / 461.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.2845, allocations: 191.7 kB / 461.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.2869, allocations: 2.873 MB / 464.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.2876, allocations: 59.95 kB / 464.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.2876, allocations: 44.05 kB / 464.6 MB, free: 5.684 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.0003161/0.2879, allocations: 209.6 kB / 464.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.288, allocations: 47.7 kB / 464.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.29, allocations: 0.7273 MB / 465.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.29, allocations: 4 kB / 465.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.29, allocations: 8 kB / 465.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.29, allocations: 3.984 kB / 465.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.2928, allocations: 1.405 MB / 467 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2928, allocations: 0 / 467 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.2935, allocations: 135.8 kB / 467.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.2937, allocations: 57.61 kB / 467.2 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2937, allocations: 16 kB / 467.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.2961, allocations: 2.86 MB / 470 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2961, allocations: 0 / 470 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.2987, allocations: 1.071 MB / 471.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.2989, allocations: 168.7 kB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.299, allocations: 16.06 kB / 471.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.2995, allocations: 51.94 kB / 471.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2996, allocations: 44.5 kB / 471.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.2996, allocations: 19.98 kB / 471.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.2999, allocations: 207.1 kB / 471.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 0 / 471.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006932/0.3006, allocations: 183.9 kB / 471.8 MB, free: 14.07 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.0002742/0.3009, allocations: 163 kB / 472 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3029, allocations: 0.876 MB / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3029, allocations: 1.312 kB / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3039, allocations: 0.5199 MB / 473.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3043, allocations: 48.58 kB / 473.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.307, allocations: 1.247 MB / 474.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.3075, allocations: 0.8849 MB / 475.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.3077, allocations: 63.41 kB / 475.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3077, allocations: 0 / 475.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01767/0.3254, allocations: 13.49 MB / 489.1 MB, free: 12.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.709299766924232]