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.001131/0.001131, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001201/0.001201, allocations: 191 kB / 18.67 MB, free: 4.434 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2899, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006879/0.2968, allocations: 5.068 MB / 406.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.3009, allocations: 2.102 MB / 408.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.3014, allocations: 16 kB / 408.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.3046, allocations: 1.406 MB / 410 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.3064, allocations: 0.5631 MB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.3086, allocations: 1.066 MB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3098, allocations: 0.7472 MB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.311, allocations: 0.6585 MB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.3116, allocations: 334.8 kB / 413.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.3121, allocations: 430.3 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3122, allocations: 68 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.3132, allocations: 395.6 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3133, allocations: 163.4 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.3137, allocations: 386.1 kB / 414.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3152, allocations: 1.199 MB / 416 MB, free: 10.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3152, allocations: 7.875 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3152, allocations: 0 / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3152, allocations: 0 / 416 MB, free: 10.25 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.004474/0.3197, allocations: 1.455 MB / 417.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3197, allocations: 8.031 kB / 417.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.3223, allocations: 387.6 kB / 417.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.3226, allocations: 255.8 kB / 418.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.3227, allocations: 62.38 kB / 418.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3228, allocations: 84.28 kB / 418.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3245, allocations: 0.8874 MB / 419.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3246, allocations: 0 / 419.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.3247, allocations: 36 kB / 419.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3247, allocations: 20 kB / 419.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.3265, allocations: 0.8042 MB / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.331, allocations: 2.93 MB / 422.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.3324, allocations: 1.007 MB / 423.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.333, allocations: 242.3 kB / 424.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3331, allocations: 101.6 kB / 424.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3332, allocations: 35.12 kB / 424.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.3332, allocations: 3.938 kB / 424.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.008262/0.3415, allocations: 2.427 MB / 426.7 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.3416, allocations: 85.67 kB / 426.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.3419, allocations: 316.4 kB / 427.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.342, allocations: 37.7 kB / 427.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3422, allocations: 362.6 kB / 427.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3424, allocations: 209 kB / 427.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.3426, allocations: 150.5 kB / 427.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3428, allocations: 354.7 kB / 428.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.3436, allocations: 277.8 kB / 428.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.3446, allocations: 0.5042 MB / 429 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.3463, allocations: 0.8076 MB / 429.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3463, allocations: 0 / 429.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002146/0.3485, allocations: 0.9104 MB / 430.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3485, allocations: 11.94 kB / 430.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3485, allocations: 8 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.3488, allocations: 73.67 kB / 430.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.3497, allocations: 199.7 kB / 431 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.3518, allocations: 2.868 MB / 433.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.3525, allocations: 63.86 kB / 433.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.3526, allocations: 40.05 kB / 433.9 MB, free: 7.195 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.0003129/0.3529, allocations: 217.6 kB / 434.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.353, allocations: 43.66 kB / 434.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.355, allocations: 0.7544 MB / 434.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3551, allocations: 8 kB / 435 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3551, allocations: 0 / 435 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3551, allocations: 7.922 kB / 435 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.3578, allocations: 1.429 MB / 436.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3578, allocations: 0 / 436.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.3585, allocations: 135.8 kB / 436.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.3587, allocations: 65.66 kB / 436.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.3588, allocations: 15.98 kB / 436.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.3607, allocations: 2.841 MB / 439.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3608, allocations: 7.875 kB / 439.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3635, allocations: 1.094 MB / 440.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.3638, allocations: 164.6 kB / 440.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.3639, allocations: 8 kB / 440.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.3644, allocations: 52.02 kB / 440.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3646, allocations: 48.48 kB / 440.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.3646, allocations: 19.98 kB / 440.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.3649, allocations: 215.1 kB / 441 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3649, allocations: 0 / 441 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007946/0.3657, allocations: 184 kB / 441.2 MB, free: 15.5 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.0003305/0.366, allocations: 159.1 kB / 441.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3681, allocations: 0.9197 MB / 442.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3681, allocations: 0 / 442.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3692, allocations: 0.5555 MB / 442.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3696, allocations: 49.02 kB / 442.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3723, allocations: 1.28 MB / 444.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3728, allocations: 0.8848 MB / 445.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.373, allocations: 63.39 kB / 445.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.373, allocations: 0 / 445.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01708/0.3901, allocations: 13.37 MB / 458.5 MB, free: 14.11 MB / 382.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