Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001585, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006267/0.2448, allocations: 5.078 MB / 414.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.2483, allocations: 2.144 MB / 416.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.2486, allocations: 16 kB / 416.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.2516, allocations: 1.408 MB / 417.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2527, allocations: 421.4 kB / 418.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.2549, allocations: 1.211 MB / 419.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.2558, allocations: 0.7433 MB / 420.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.2567, allocations: 0.6609 MB / 420.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.2572, allocations: 326.8 kB / 421.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.2576, allocations: 442.3 kB / 421.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.2577, allocations: 68 kB / 421.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.2585, allocations: 419.6 kB / 422.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2587, allocations: 159.5 kB / 422.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.259, allocations: 386.1 kB / 422.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2603, allocations: 1.216 MB / 423.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2603, allocations: 4 kB / 423.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2603, allocations: 0 / 423.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2603, allocations: 0 / 423.9 MB, free: 2.887 MB / 334.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.004133/0.2645, allocations: 1.459 MB / 425.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2645, allocations: 8.031 kB / 425.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.2672, allocations: 387.6 kB / 425.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2675, allocations: 271.2 kB / 426 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.2676, allocations: 62.36 kB / 426.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.2677, allocations: 84.38 kB / 426.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2693, allocations: 0.8718 MB / 427 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.2694, allocations: 4 kB / 427 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.2695, allocations: 32 kB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.2695, allocations: 23.98 kB / 427.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.2713, allocations: 0.8003 MB / 427.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.2756, allocations: 3.001 MB / 430.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.2767, allocations: 1.004 MB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.2772, allocations: 246.4 kB / 432.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.2774, allocations: 182.8 kB / 432.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2774, allocations: 39.12 kB / 432.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.275e-06/0.2774, allocations: 0 / 432.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006886/0.2843, allocations: 2.4 MB / 434.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.2844, allocations: 85.67 kB / 434.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.2847, allocations: 316.4 kB / 435.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2848, allocations: 33.7 kB / 435.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.285, allocations: 366.5 kB / 435.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.2852, allocations: 209 kB / 435.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2854, allocations: 142.5 kB / 435.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2855, allocations: 358.7 kB / 436.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.2862, allocations: 269.8 kB / 436.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.2871, allocations: 0.5081 MB / 437 MB, free: 5.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2887, allocations: 0.8076 MB / 437.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2887, allocations: 0 / 437.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001985/0.2907, allocations: 0.8982 MB / 438.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2907, allocations: 14.75 kB / 438.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2908, allocations: 8.5 kB / 438.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.291, allocations: 77.67 kB / 438.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/0.2919, allocations: 199.7 kB / 439 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.2939, allocations: 2.86 MB / 441.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.2945, allocations: 60.08 kB / 441.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.2946, allocations: 39.98 kB / 442 MB, free: 15.7 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.0003/0.2949, allocations: 213.5 kB / 442.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.295, allocations: 51.41 kB / 442.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.2969, allocations: 0.7351 MB / 443 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2969, allocations: 8 kB / 443 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.2969, allocations: 4 kB / 443 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.2969, allocations: 11.86 kB / 443 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.2996, allocations: 1.417 MB / 444.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2996, allocations: 4 kB / 444.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.3003, allocations: 135.8 kB / 444.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.3005, allocations: 53.67 kB / 444.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.3005, allocations: 15.98 kB / 444.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.3025, allocations: 2.853 MB / 447.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3025, allocations: 0 / 447.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.305, allocations: 1.079 MB / 448.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.3053, allocations: 164.7 kB / 448.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.3054, allocations: 12 kB / 448.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.3059, allocations: 43.95 kB / 448.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.306, allocations: 44.48 kB / 448.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.3061, allocations: 16 kB / 448.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.3063, allocations: 223.1 kB / 449 MB, free: 8.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3063, allocations: 4 kB / 449 MB, free: 8.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007746/0.3071, allocations: 172 kB / 449.2 MB, free: 8.043 MB / 366.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.0002995/0.3074, allocations: 175.1 kB / 449.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3094, allocations: 0.9201 MB / 450.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3094, allocations: 0 / 450.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.3104, allocations: 0.5473 MB / 450.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3108, allocations: 45.03 kB / 450.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.3135, allocations: 1.231 MB / 452.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.314, allocations: 0.881 MB / 453 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.3143, allocations: 88.52 kB / 453.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.3145, allocations: 47.42 kB / 453.1 MB, free: 4 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3145, allocations: 0 / 453.1 MB, free: 4 MB / 366.1 MB Notification: Performance of Templates: time 0.01224/0.3268, allocations: 6.497 MB / 459.6 MB, free: 13.55 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches