Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009754/0.0009754, allocations: 47.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2119, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005795/0.2177, allocations: 5.073 MB / 406.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.2206, allocations: 2.094 MB / 408.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2208, allocations: 20 kB / 408.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.2236, allocations: 1.406 MB / 410 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.2247, allocations: 0.5671 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.2266, allocations: 1.07 MB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.2273, allocations: 0.7433 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.2282, allocations: 0.6585 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.2285, allocations: 334.8 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.229, allocations: 430.3 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.2291, allocations: 71.94 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.2297, allocations: 395.6 kB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2298, allocations: 167.4 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.2301, allocations: 374.1 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2313, allocations: 1.203 MB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2313, allocations: 0 / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2313, allocations: 0 / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2313, allocations: 4 kB / 416 MB, free: 10.24 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.004211/0.2355, allocations: 1.455 MB / 417.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2356, allocations: 8.031 kB / 417.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.2382, allocations: 379.7 kB / 417.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2385, allocations: 259.8 kB / 418.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.2385, allocations: 66.38 kB / 418.2 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2387, allocations: 84.28 kB / 418.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.2403, allocations: 0.8835 MB / 419.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2404, allocations: 4 kB / 419.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.2405, allocations: 36 kB / 419.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.2405, allocations: 20 kB / 419.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.2423, allocations: 0.8003 MB / 420 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.2463, allocations: 2.942 MB / 422.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2476, allocations: 1.003 MB / 423.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.2482, allocations: 250.3 kB / 424.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.149e-05/0.2483, allocations: 93.66 kB / 424.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2483, allocations: 39.12 kB / 424.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 4.398e-06/0.2483, allocations: 0 / 424.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.008205/0.2565, allocations: 2.427 MB / 426.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2566, allocations: 85.67 kB / 426.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.2569, allocations: 316.4 kB / 427.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.257, allocations: 37.69 kB / 427.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2572, allocations: 362.6 kB / 427.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.2573, allocations: 212.9 kB / 427.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.2575, allocations: 154.5 kB / 427.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2577, allocations: 350.7 kB / 428.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.2585, allocations: 273.8 kB / 428.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.2595, allocations: 0.5042 MB / 429 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.2613, allocations: 0.8115 MB / 429.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2613, allocations: 0 / 429.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002186/0.2635, allocations: 0.9065 MB / 430.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2636, allocations: 12 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2636, allocations: 11.94 kB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.2638, allocations: 65.67 kB / 430.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.2647, allocations: 207.7 kB / 431 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2667, allocations: 2.868 MB / 433.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.2673, allocations: 67.84 kB / 433.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.2674, allocations: 35.98 kB / 434 MB, free: 7.176 MB / 350.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.0002591/0.2677, allocations: 221.6 kB / 434.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.2678, allocations: 43.47 kB / 434.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.2698, allocations: 0.7508 MB / 435 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.2699, allocations: 3.984 kB / 435 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2699, allocations: 0 / 435 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.27, allocations: 156.6 kB / 435.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.2701, allocations: 15.94 kB / 435.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.2707, allocations: 51.95 kB / 435.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2708, allocations: 48.48 kB / 435.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002301/0.2731, allocations: 0.7852 MB / 436 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002563/0.2757, allocations: 1.103 MB / 437.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007831/0.2765, allocations: 284.3 kB / 437.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.2767, allocations: 223.1 kB / 437.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2767, allocations: 0 / 437.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.2787, allocations: 0.9259 MB / 438.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 0.001622/0.2803, allocations: 1.475 MB / 440 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Templates: time 0.01608/0.2964, allocations: 10.82 MB / 450.8 MB, free: 6.18 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches