Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_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.001583/0.001583, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001799/0.001799, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001795/0.001795, allocations: 52.14 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1146, allocations: 46.62 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01666/0.1313, allocations: 9.934 MB / 337.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009206/0.1405, allocations: 3.339 MB / 340.7 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.1424, allocations: 59.81 kB / 340.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01295/0.1555, allocations: 3.831 MB / 344.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.162, allocations: 1.415 MB / 346 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.166, allocations: 1.145 MB / 347.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0177/0.1837, allocations: 9.061 MB / 356.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04571/0.2295, allocations: 20.4 MB / 376.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2269/0.4564, allocations: 5.047 MB / 381.6 MB, free: 27.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.4703, allocations: 6.117 MB / 387.7 MB, free: 26.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006816/0.4772, allocations: 1.397 MB / 389.1 MB, free: 26.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009668/0.4869, allocations: 1.633 MB / 390.8 MB, free: 26.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009966/0.4969, allocations: 2.928 MB / 393.7 MB, free: 26.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01511/0.5121, allocations: 5.452 MB / 399.1 MB, free: 22.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0235/0.5356, allocations: 18.61 MB / 417.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5357, allocations: 0.625 kB / 417.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5357, allocations: 0 / 417.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006331/0.5364, allocations: 3.031 kB / 417.8 MB, free: 10.79 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.06281/0.5992, allocations: 12.31 MB / 430.1 MB, free: 248 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.5993, allocations: 15.83 kB / 430.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007297/0.6066, allocations: 1.329 MB / 431.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08799/0.6946, allocations: 8.452 MB / 439.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.7132, allocations: 5.382 MB / 445.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.7144, allocations: 0.6644 MB / 445.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00558/0.72, allocations: 0.8658 MB / 446.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05771/0.7778, allocations: 15.97 MB / 462.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004935/0.7783, allocations: 15.84 kB / 462.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004177/0.7825, allocations: 369.8 kB / 463.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008796/0.7835, allocations: 0.5583 MB / 463.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04926/0.8327, allocations: 15.72 MB / 479.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/0.9883, allocations: 48.24 MB / 0.5153 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2596/1.248, allocations: 19.32 MB / 0.5341 GB, free: 128.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007739/1.256, allocations: 3.589 MB / 0.5376 GB, free: 128.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.256, allocations: 176.8 kB / 0.5378 GB, free: 128.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/1.257, allocations: 88.77 kB / 0.5379 GB, free: 128 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 1.254e-05/1.257, allocations: 3.938 kB / 0.5379 GB, free: 128 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.0353/1.292, allocations: 11.55 MB / 0.5492 GB, free: 124.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/1.292, allocations: 132.4 kB / 0.5493 GB, free: 124.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/1.3, allocations: 3.843 MB / 0.5531 GB, free: 122.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.301, allocations: 99.42 kB / 0.5531 GB, free: 122.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.304, allocations: 3.894 MB / 0.557 GB, free: 119.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.306, allocations: 1.607 MB / 0.5585 GB, free: 118.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/1.309, allocations: 1.465 MB / 0.56 GB, free: 118 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/1.309, allocations: 305.1 kB / 0.5602 GB, free: 117.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00716/1.316, allocations: 3.685 MB / 0.5638 GB, free: 116.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009222/1.325, allocations: 6.52 MB / 0.5702 GB, free: 111.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.341, allocations: 10.83 MB / 0.5808 GB, free: 103 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.341, allocations: 28 kB / 0.5808 GB, free: 103 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02832/1.37, allocations: 11.95 MB / 0.5925 GB, free: 92.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.37, allocations: 48 kB / 0.5925 GB, free: 92.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.37, allocations: 92 kB / 0.5926 GB, free: 92.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/1.376, allocations: 1.632 MB / 0.5942 GB, free: 90.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00851/1.385, allocations: 1.665 MB / 0.5958 GB, free: 88.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.407, allocations: 17.67 MB / 0.6131 GB, free: 70.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008176/1.415, allocations: 0.964 MB / 0.614 GB, free: 69.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.417, allocations: 356 kB / 0.6144 GB, free: 69 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007887/1.425, allocations: 3.75 MB / 0.618 GB, free: 65.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.426, allocations: 391.7 kB / 0.6184 GB, free: 64.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/1.446, allocations: 8.58 MB / 0.6268 GB, free: 56.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/1.446, allocations: 48 kB / 0.6268 GB, free: 56.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.773e-05/1.447, allocations: 16 kB / 0.6268 GB, free: 56.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/1.447, allocations: 23.91 kB / 0.6269 GB, free: 56.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03699/1.484, allocations: 16.96 MB / 0.6434 GB, free: 39.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/1.484, allocations: 3.938 kB / 0.6434 GB, free: 39.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005051/1.489, allocations: 0.862 MB / 0.6443 GB, free: 38.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006562/1.495, allocations: 1.53 MB / 0.6458 GB, free: 36.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/1.496, allocations: 99.98 kB / 0.6459 GB, free: 36.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/1.518, allocations: 17.46 MB / 0.6629 GB, free: 18.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.518, allocations: 4.312 kB / 0.6629 GB, free: 18.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.542, allocations: 12.23 MB / 0.6749 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/1.545, allocations: 1.104 MB / 0.6759 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009655/1.546, allocations: 92.06 kB / 0.676 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.549, allocations: 307.6 kB / 0.6763 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009678/1.55, allocations: 315.6 kB / 0.6766 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/1.551, allocations: 140 kB / 0.6768 GB, free: 3.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00485/1.556, allocations: 2.578 MB / 0.6793 GB, free: 1.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.5e-07/1.556, allocations: 0 / 0.6793 GB, free: 1.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01063/1.566, allocations: 2.384 MB / 0.6816 GB, free: 14.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02859/1.595, allocations: 12.95 MB / 0.6942 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2362/1.831, allocations: 15.47 MB / 0.7094 GB, free: 152.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.831, allocations: 2.406 kB / 0.7094 GB, free: 152.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01037/1.842, allocations: 4.471 MB / 0.7137 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005996/1.848, allocations: 0.7253 MB / 0.7144 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1124/1.96, allocations: 68.58 MB / 0.7814 GB, free: 85.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006962/1.967, allocations: 6.049 MB / 0.7873 GB, free: 79.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01093/1.978, allocations: 3.251 MB / 0.7905 GB, free: 76.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005914/1.984, allocations: 3.042 MB / 0.7935 GB, free: 73.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/1.984, allocations: 0 / 0.7935 GB, free: 73.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6015/2.586, allocations: 127.4 MB / 0.9179 GB, free: 112.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.11/22.7, allocations: 11 kB / 0.9179 GB, free: 112.5 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches