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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.001241/0.001241, allocations: 189.4 kB / 18 MB, free: 5.098 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.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.285, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006959/0.292, allocations: 5.068 MB / 405.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.2959, allocations: 2.109 MB / 407.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.2961, allocations: 20 kB / 407.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.2993, allocations: 1.393 MB / 408.8 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.3007, allocations: 0.5711 MB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.3028, allocations: 1.061 MB / 410.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3041, allocations: 0.7509 MB / 411.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.3052, allocations: 0.6534 MB / 411.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.3057, allocations: 342.8 kB / 412.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.3063, allocations: 430.3 kB / 412.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3064, allocations: 68 kB / 412.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3074, allocations: 387.7 kB / 413.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3076, allocations: 171.4 kB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.308, allocations: 382.1 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.3095, allocations: 1.206 MB / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3095, allocations: 0 / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3095, allocations: 0 / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3095, allocations: 0 / 414.8 MB, free: 10.17 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.00433/0.3139, allocations: 1.477 MB / 416.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3139, allocations: 11.89 kB / 416.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.3141, allocations: 135.4 kB / 416.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.3167, allocations: 392.1 kB / 416.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.317, allocations: 259.9 kB / 417.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.3171, allocations: 62.38 kB / 417.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3172, allocations: 88.12 kB / 417.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3191, allocations: 0.8797 MB / 418.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.3192, allocations: 4 kB / 418.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.3192, allocations: 35.94 kB / 418.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.3193, allocations: 20 kB / 418.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.3212, allocations: 0.8042 MB / 419 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.3257, allocations: 2.943 MB / 421.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3271, allocations: 0.9987 MB / 422.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.3276, allocations: 250.4 kB / 423.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3278, allocations: 93.64 kB / 423.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3278, allocations: 43.06 kB / 423.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.044e-06/0.3278, allocations: 0 / 423.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00821/0.336, allocations: 2.444 MB / 425.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3361, allocations: 85.67 kB / 425.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.3365, allocations: 308.5 kB / 426.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.3366, allocations: 37.7 kB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.3368, allocations: 379.9 kB / 426.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.337, allocations: 218.1 kB / 426.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3372, allocations: 146.5 kB / 426.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3374, allocations: 354.7 kB / 427.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/0.3383, allocations: 273.8 kB / 427.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3394, allocations: 0.512 MB / 428 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.3412, allocations: 0.8076 MB / 428.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3413, allocations: 0 / 428.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002275/0.3435, allocations: 0.9106 MB / 429.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.3436, allocations: 15.94 kB / 429.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3436, allocations: 4 kB / 429.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.3438, allocations: 69.67 kB / 429.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.3447, allocations: 203.7 kB / 430 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.3471, allocations: 2.88 MB / 432.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.3478, allocations: 59.95 kB / 432.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.3479, allocations: 39.98 kB / 433 MB, free: 6.895 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.0003223/0.3482, allocations: 221.6 kB / 433.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3483, allocations: 47.66 kB / 433.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3504, allocations: 0.7428 MB / 434 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3505, allocations: 8 kB / 434 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3505, allocations: 0 / 434 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3505, allocations: 7.922 kB / 434 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.3534, allocations: 1.429 MB / 435.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3534, allocations: 0 / 435.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.3541, allocations: 135.8 kB / 435.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.3543, allocations: 65.67 kB / 435.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.3544, allocations: 15.98 kB / 435.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.3566, allocations: 2.852 MB / 438.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3567, allocations: 3.938 kB / 438.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.3595, allocations: 1.095 MB / 439.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.3597, allocations: 160.8 kB / 439.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.3598, allocations: 12 kB / 439.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.3603, allocations: 52.02 kB / 439.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3605, allocations: 48.48 kB / 439.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.3605, allocations: 19.98 kB / 439.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.3607, allocations: 211.1 kB / 440.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3608, allocations: 4 kB / 440.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.3614, allocations: 176 kB / 440.3 MB, free: 15.2 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.003223/0.3647, allocations: 1.701 MB / 442 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3669, allocations: 0.9201 MB / 442.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.367, allocations: 0 / 442.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.3681, allocations: 0.5551 MB / 443.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.3686, allocations: 45.02 kB / 443.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.3785, allocations: 5.211 MB / 448.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3791, allocations: 0.8848 MB / 449.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004115/0.3795, allocations: 96.52 kB / 449.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.3799, allocations: 223.3 kB / 449.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3799, allocations: 0 / 449.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.4343, allocations: 11.33 MB / 461.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.15, allocations: 8.281 kB / 461.2 MB, free: 10.06 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > 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.csv","/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