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.001288/0.001288, allocations: 114 kB / 17.74 MB, free: 5.355 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.001173/0.001173, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.347/1.347, 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.001385/0.001385, allocations: 59.91 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09675, allocations: 46.61 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2147/0.3115, allocations: 9.922 MB / 384.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006755/0.3183, allocations: 3.352 MB / 387.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.3203, allocations: 60.75 kB / 388 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008592/0.3289, allocations: 3.843 MB / 391.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.3335, allocations: 1.417 MB / 393.2 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.3361, allocations: 1.138 MB / 394.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.3467, allocations: 9.134 MB / 403.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02916/0.3759, allocations: 20.34 MB / 423.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008727/0.3847, allocations: 5.062 MB / 428.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.3948, allocations: 6.083 MB / 435 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004233/0.3991, allocations: 1.398 MB / 436.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.4053, allocations: 1.633 MB / 438 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004718/0.41, allocations: 2.927 MB / 441 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00976/0.4198, allocations: 5.451 MB / 446.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02158/0.4414, allocations: 18.74 MB / 465.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.4415, allocations: 4 kB / 465.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4415, allocations: 0 / 465.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005313/0.442, allocations: 0 / 465.2 MB, free: 5.324 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.03713/0.4792, allocations: 12.46 MB / 477.6 MB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4792, allocations: 11.89 kB / 477.6 MB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004755/0.484, allocations: 1.332 MB / 479 MB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04814/0.5322, allocations: 8.542 MB / 487.5 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.5463, allocations: 5.397 MB / 492.9 MB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007705/0.5472, allocations: 0.6623 MB / 493.6 MB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/0.5512, allocations: 0.8671 MB / 494.4 MB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/0.59, allocations: 15.97 MB / 0.4984 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.5903, allocations: 11.95 kB / 0.4984 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/0.5921, allocations: 367.9 kB / 0.4988 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005633/0.5927, allocations: 0.566 MB / 0.4993 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03102/0.6237, allocations: 15.71 MB / 0.5147 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4647/1.088, allocations: 47.83 MB / 0.5614 GB, free: 118.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.107, allocations: 19.34 MB / 0.5803 GB, free: 105.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/1.112, allocations: 3.584 MB / 0.5838 GB, free: 105.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.113, allocations: 183.5 kB / 0.584 GB, free: 105.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/1.113, allocations: 85.88 kB / 0.584 GB, free: 105.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 7.013e-06/1.113, allocations: 0 / 0.584 GB, free: 105.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.0216/1.134, allocations: 11.57 MB / 0.5953 GB, free: 102.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.134, allocations: 125.5 kB / 0.5955 GB, free: 102.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005352/1.14, allocations: 3.848 MB / 0.5992 GB, free: 101.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004643/1.14, allocations: 104.2 kB / 0.5993 GB, free: 101.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/1.142, allocations: 4.046 MB / 0.6033 GB, free: 98.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.144, allocations: 1.681 MB / 0.6049 GB, free: 97.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/1.146, allocations: 1.481 MB / 0.6064 GB, free: 97.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/1.146, allocations: 301.1 kB / 0.6067 GB, free: 96.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.15, allocations: 3.692 MB / 0.6103 GB, free: 95.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/1.156, allocations: 6.516 MB / 0.6166 GB, free: 90.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.167, allocations: 10.83 MB / 0.6272 GB, free: 82.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.938e-05/1.167, allocations: 26.22 kB / 0.6272 GB, free: 82.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01734/1.185, allocations: 11.97 MB / 0.6389 GB, free: 71.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.185, allocations: 44 kB / 0.6389 GB, free: 71.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/1.185, allocations: 96.3 kB / 0.639 GB, free: 71.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/1.189, allocations: 1.626 MB / 0.6406 GB, free: 69.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/1.195, allocations: 1.665 MB / 0.6423 GB, free: 68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.211, allocations: 17.68 MB / 0.6595 GB, free: 49.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.217, allocations: 0.9626 MB / 0.6605 GB, free: 48.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008276/1.218, allocations: 364 kB / 0.6608 GB, free: 48.19 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.005953/1.224, allocations: 3.759 MB / 0.6645 GB, free: 44.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/1.225, allocations: 417.2 kB / 0.6649 GB, free: 44.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.237, allocations: 8.565 MB / 0.6732 GB, free: 35.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.237, allocations: 52 kB / 0.6733 GB, free: 35.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/1.237, allocations: 12 kB / 0.6733 GB, free: 35.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/1.237, allocations: 27.84 kB / 0.6733 GB, free: 35.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.264, allocations: 16.81 MB / 0.6897 GB, free: 18.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.264, allocations: 0 / 0.6897 GB, free: 18.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.268, allocations: 0.8582 MB / 0.6906 GB, free: 17.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004367/1.272, allocations: 1.507 MB / 0.6921 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007408/1.273, allocations: 104 kB / 0.6921 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.289, allocations: 17.49 MB / 0.7092 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.289, allocations: 8 kB / 0.7092 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/1.31, allocations: 12.25 MB / 0.7212 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/1.313, allocations: 1.122 MB / 0.7223 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.314, allocations: 89.09 kB / 0.7224 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.318, allocations: 311.6 kB / 0.7227 GB, free: 15.63 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009784/1.319, allocations: 315.6 kB / 0.723 GB, free: 15.32 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004937/1.319, allocations: 140 kB / 0.7231 GB, free: 15.18 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005347/1.325, allocations: 2.574 MB / 0.7256 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.81e-07/1.325, allocations: 0 / 0.7256 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009953/1.335, allocations: 2.411 MB / 0.728 GB, free: 10.2 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.02324/1.358, allocations: 12.97 MB / 0.7406 GB, free: 13 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01791/1.376, allocations: 9.387 MB / 0.7498 GB, free: 3.504 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.376, allocations: 0 / 0.7498 GB, free: 3.504 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.2474/1.623, allocations: 4.473 MB / 0.7542 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.005198/1.629, allocations: 0.7367 MB / 0.7549 GB, free: 176.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/1.754, allocations: 61.41 MB / 0.8149 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01293/1.767, allocations: 6.042 MB / 0.8208 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01145/1.778, 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.007908/1.786, allocations: 3.038 MB / 0.8269 GB, free: 128 MB / 0.5138 GB Notification: Performance of SimCode: time 1.042e-06/1.786, allocations: 0 / 0.8269 GB, free: 128 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4689/2.255, allocations: 125.5 MB / 0.9495 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.39/22.65, allocations: 6.969 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