Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.001483/0.001483, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001541/0.001541, allocations: 188.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 56.2 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08204, allocations: 46.63 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005773/0.08785, allocations: 4.606 MB / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1831/0.271, allocations: 1.73 MB / 381 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.2715, allocations: 22.5 kB / 381 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.272, allocations: 258.5 kB / 381.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.2735, allocations: 0.6949 MB / 382 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.274, allocations: 233.8 kB / 382.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.2761, allocations: 1.896 MB / 384.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.2773, allocations: 1.256 MB / 385.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.2783, allocations: 0.7821 MB / 386.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2794, allocations: 0.984 MB / 387.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.2797, allocations: 185.4 kB / 387.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.2803, allocations: 309.2 kB / 387.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.2808, allocations: 0.5353 MB / 388.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.2817, allocations: 0.889 MB / 389 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.2842, allocations: 2.564 MB / 391.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2843, allocations: 0 / 391.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2843, allocations: 7.938 kB / 391.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.867e-05/0.2843, allocations: 0.75 kB / 391.6 MB, free: 5.555 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004954/0.2893, allocations: 2.174 MB / 393.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2893, allocations: 9.531 kB / 393.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002643/0.2896, allocations: 205.1 kB / 394 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.2914, allocations: 365.8 kB / 394.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.2932, allocations: 1.05 MB / 395.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.2933, allocations: 98.17 kB / 395.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.2935, allocations: 135.6 kB / 395.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.2965, allocations: 1.896 MB / 397.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.2966, allocations: 0 / 397.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.2967, allocations: 59.06 kB / 397.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.2968, allocations: 44.53 kB / 397.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.2996, allocations: 1.687 MB / 399.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008691/0.3083, allocations: 5.52 MB / 404.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.3115, allocations: 2.901 MB / 407.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/0.3124, allocations: 0.4961 MB / 408.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/0.3149, allocations: 1.533 MB / 409.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3149, allocations: 43.03 kB / 409.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/0.3149, allocations: 0 / 409.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003176/0.3181, allocations: 1.409 MB / 411.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3182, allocations: 86.58 kB / 411.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.3196, allocations: 1.029 MB / 412.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.3196, allocations: 36.45 kB / 412.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.3201, allocations: 0.6737 MB / 413 MB, free: 7.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3202, allocations: 191.3 kB / 413.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3204, allocations: 131.8 kB / 413.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3205, allocations: 334.2 kB / 413.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.3211, allocations: 356.7 kB / 414 MB, free: 6.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.3218, allocations: 0.5207 MB / 414.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.323, allocations: 0.8734 MB / 415.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.323, allocations: 4 kB / 415.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001579/0.3246, allocations: 1.005 MB / 416.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3246, allocations: 8 kB / 416.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3246, allocations: 4 kB / 416.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3247, allocations: 11.94 kB / 416.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.3254, allocations: 183.7 kB / 416.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.3254, allocations: 8 kB / 416.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.326, allocations: 95.39 kB / 416.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.3261, allocations: 24 kB / 416.7 MB, free: 4.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007446/0.3268, allocations: 0.5251 MB / 417.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.327, allocations: 86.97 kB / 417.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.3282, allocations: 0.6862 MB / 418 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3283, allocations: 8 kB / 418 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3283, allocations: 0 / 418 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3283, allocations: 8.203 kB / 418 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.3307, allocations: 1.658 MB / 419.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3308, allocations: 0 / 419.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.3312, allocations: 99.8 kB / 419.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.3316, allocations: 158.5 kB / 419.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3317, allocations: 20 kB / 420 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.3346, allocations: 2.847 MB / 422.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3346, allocations: 0 / 422.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.3369, allocations: 1.475 MB / 424.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.3372, allocations: 191.9 kB / 424.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3374, allocations: 16 kB / 424.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.3379, allocations: 59.88 kB / 424.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3381, allocations: 59.86 kB / 424.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.3381, allocations: 19.98 kB / 424.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009743/0.3391, allocations: 0.7293 MB / 425.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3391, allocations: 0 / 425.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001075/0.3402, allocations: 362.4 kB / 425.7 MB, free: 10.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002496/0.3427, allocations: 2.059 MB / 427.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.344, allocations: 0.7685 MB / 428.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.344, allocations: 4.375 kB / 428.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3451, allocations: 0.6021 MB / 429.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3461, allocations: 177 kB / 429.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.3609, allocations: 10.5 MB / 439.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.3623, allocations: 1.503 MB / 441.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000632/0.3629, allocations: 234.7 kB / 441.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.3636, allocations: 483.3 kB / 442 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3636, allocations: 0 / 442 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/0.4144, allocations: 23.08 MB / 465.1 MB, free: 3.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 3.938 kB / 465.1 MB, free: 3.098 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches