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.00163/0.00163, allocations: 110.5 kB / 17.73 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.001655/0.001655, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.51/1.51, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001749/0.001749, allocations: 59.86 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1047, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2218/0.3265, allocations: 9.931 MB / 384.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008491/0.3351, allocations: 3.345 MB / 387.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.338, allocations: 61.16 kB / 388 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009581/0.3477, allocations: 3.833 MB / 391.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.3538, allocations: 1.401 MB / 393.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.357, allocations: 1.139 MB / 394.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.3709, allocations: 9.133 MB / 403.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03558/0.4065, allocations: 20.33 MB / 423.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.417, allocations: 5.058 MB / 428.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.4289, allocations: 6.083 MB / 435 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004475/0.4334, allocations: 1.398 MB / 436.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/0.4399, allocations: 1.636 MB / 438 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005257/0.4452, allocations: 2.927 MB / 440.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01241/0.4577, allocations: 5.447 MB / 446.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02791/0.4857, allocations: 18.74 MB / 465.1 MB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.4857, allocations: 4 kB / 465.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4857, allocations: 0 / 465.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005375/0.4863, allocations: 0 / 465.1 MB, free: 5.359 MB / 382.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.0432/0.5295, allocations: 12.46 MB / 477.6 MB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.5296, allocations: 11.89 kB / 477.6 MB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006672/0.5362, allocations: 1.332 MB / 478.9 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05232/0.5886, allocations: 8.542 MB / 487.5 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.6028, allocations: 5.401 MB / 492.9 MB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009677/0.6038, allocations: 0.6584 MB / 493.5 MB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004595/0.6084, allocations: 0.871 MB / 494.4 MB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04491/0.6533, allocations: 15.97 MB / 0.4984 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003526/0.6537, allocations: 11.94 kB / 0.4984 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003208/0.657, allocations: 368 kB / 0.4988 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007154/0.6577, allocations: 0.566 MB / 0.4993 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03613/0.6938, allocations: 15.72 MB / 0.5147 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5376/1.231, allocations: 47.83 MB / 0.5614 GB, free: 118.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/1.253, allocations: 19.33 MB / 0.5803 GB, free: 105.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006885/1.26, allocations: 3.587 MB / 0.5838 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/1.261, allocations: 182 kB / 0.5839 GB, free: 105.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.182e-05/1.261, allocations: 87.34 kB / 0.584 GB, free: 105.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 8.587e-06/1.261, allocations: 0 / 0.584 GB, free: 105.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02514/1.286, allocations: 11.57 MB / 0.5953 GB, free: 103 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.286, allocations: 127.7 kB / 0.5954 GB, free: 102.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/1.293, allocations: 3.847 MB / 0.5992 GB, free: 101.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.294, allocations: 100.3 kB / 0.5993 GB, free: 101.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002751/1.297, allocations: 4.046 MB / 0.6032 GB, free: 99.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.299, allocations: 1.686 MB / 0.6049 GB, free: 97.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/1.302, allocations: 1.478 MB / 0.6063 GB, free: 97.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/1.302, allocations: 305.1 kB / 0.6066 GB, free: 96.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/1.307, allocations: 3.687 MB / 0.6102 GB, free: 95.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007254/1.314, allocations: 6.519 MB / 0.6166 GB, free: 90.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.327, allocations: 10.83 MB / 0.6272 GB, free: 82.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/1.327, allocations: 29.34 kB / 0.6272 GB, free: 82.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02245/1.35, allocations: 11.97 MB / 0.6389 GB, free: 71.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/1.35, allocations: 47.94 kB / 0.6389 GB, free: 71.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.35, allocations: 92 kB / 0.639 GB, free: 71.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/1.355, allocations: 1.622 MB / 0.6406 GB, free: 69.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006104/1.361, allocations: 1.67 MB / 0.6422 GB, free: 68.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/1.378, allocations: 17.68 MB / 0.6595 GB, free: 49.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00609/1.384, allocations: 0.9665 MB / 0.6604 GB, free: 48.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.385, allocations: 360 kB / 0.6608 GB, free: 48.23 MB / 478.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.007055/1.392, allocations: 3.754 MB / 0.6644 GB, free: 44.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000826/1.393, allocations: 413.3 kB / 0.6648 GB, free: 44.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.406, allocations: 8.573 MB / 0.6732 GB, free: 35.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/1.406, allocations: 48 kB / 0.6733 GB, free: 35.35 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.298e-05/1.406, allocations: 16 kB / 0.6733 GB, free: 35.33 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/1.406, allocations: 26.42 kB / 0.6733 GB, free: 35.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/1.435, allocations: 16.79 MB / 0.6897 GB, free: 18.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.435, allocations: 4.25 kB / 0.6897 GB, free: 18.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.438, allocations: 0.8659 MB / 0.6905 GB, free: 17.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004622/1.443, allocations: 1.514 MB / 0.692 GB, free: 16.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007145/1.443, allocations: 108.5 kB / 0.6921 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/1.461, allocations: 17.48 MB / 0.7092 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.461, allocations: 4 kB / 0.7092 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/1.485, allocations: 12.26 MB / 0.7212 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003535/1.489, allocations: 1.118 MB / 0.7223 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.49, allocations: 87.98 kB / 0.7223 GB, free: 15.95 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.493, allocations: 306.2 kB / 0.7226 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/1.494, allocations: 315.6 kB / 0.7229 GB, free: 15.35 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/1.494, allocations: 136 kB / 0.7231 GB, free: 15.22 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005065/1.5, allocations: 2.582 MB / 0.7256 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.4e-07/1.5, allocations: 0 / 0.7256 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009628/1.509, allocations: 2.407 MB / 0.7279 GB, free: 10.23 MB / 0.4982 GB 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.02377/1.533, allocations: 12.98 MB / 0.7406 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01896/1.552, allocations: 9.384 MB / 0.7498 GB, free: 3.527 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.552, allocations: 0 / 0.7498 GB, free: 3.527 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.2447/1.797, allocations: 4.471 MB / 0.7541 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/1.803, allocations: 0.7312 MB / 0.7549 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1263/1.93, allocations: 61.41 MB / 0.8148 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/1.94, allocations: 6.049 MB / 0.8207 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00822/1.948, allocations: 3.254 MB / 0.8239 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006526/1.955, allocations: 3.038 MB / 0.8269 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of SimCode: time 9.82e-07/1.955, allocations: 0 / 0.8269 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.462/2.417, allocations: 125.5 MB / 0.9495 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.89/22.31, allocations: 6.047 kB / 0.9495 GB, free: 140.6 MB / 0.5138 GB (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