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.001298/0.001298, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.001362/0.001362, allocations: 192.1 kB / 18.51 MB, free: 4.637 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.359/2.359, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001779/0.001779, allocations: 51.92 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009244/0.1745, allocations: 4.61 MB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.1793, allocations: 1.733 MB / 333.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.1802, allocations: 23.88 kB / 333.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1813, allocations: 262.3 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.1839, allocations: 0.684 MB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.1847, allocations: 235.5 kB / 334.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.188, allocations: 1.88 MB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.1904, allocations: 1.249 MB / 338.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.1924, allocations: 0.7942 MB / 338.8 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.1947, allocations: 0.9808 MB / 339.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.1952, allocations: 184 kB / 340 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1963, allocations: 307.9 kB / 340.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007586/0.1971, allocations: 0.5336 MB / 340.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.1987, allocations: 0.8943 MB / 341.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004267/0.203, allocations: 2.551 MB / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.203, allocations: 0 / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.203, allocations: 0 / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.214e-05/0.2031, allocations: 4 kB / 344.3 MB, free: 3.355 MB / 286.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.008667/0.2118, allocations: 2.168 MB / 346.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/0.2119, allocations: 8.031 kB / 346.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004526/0.2123, allocations: 206.8 kB / 346.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.2158, allocations: 370.6 kB / 347 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.2191, allocations: 1.04 MB / 348.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.2193, allocations: 103 kB / 348.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.2197, allocations: 139.9 kB / 348.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/0.2255, allocations: 1.882 MB / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.2255, allocations: 4 kB / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.2258, allocations: 48 kB / 350.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/0.2259, allocations: 50 kB / 350.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005311/0.2312, allocations: 1.687 MB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/0.2481, allocations: 5.587 MB / 357.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/0.2534, allocations: 2.909 MB / 360.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2549, allocations: 0.4953 MB / 361 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004443/0.2594, allocations: 1.532 MB / 362.5 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.88e-05/0.2595, allocations: 46.67 kB / 362.5 MB, free: 216 kB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 5.1e-06/0.2595, allocations: 0 / 362.5 MB, free: 216 kB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.005451/0.265, allocations: 1.407 MB / 364 MB, free: 14.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.2651, allocations: 88.98 kB / 364 MB, free: 14.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.268, allocations: 1.032 MB / 365.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.2681, allocations: 33.7 kB / 365.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.2689, allocations: 0.6735 MB / 365.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.2693, allocations: 193.3 kB / 366 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.2697, allocations: 126.2 kB / 366.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.2699, allocations: 334 kB / 366.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.271, allocations: 357 kB / 366.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.2722, allocations: 0.5131 MB / 367.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.2746, allocations: 0.8712 MB / 368.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.2746, allocations: 4 kB / 368.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003066/0.2777, allocations: 1.013 MB / 369.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.2777, allocations: 11.28 kB / 369.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.2778, allocations: 7.938 kB / 369.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.089e-05/0.2778, allocations: 8 kB / 369.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.2791, allocations: 191.8 kB / 369.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.609e-05/0.2792, allocations: 12.22 kB / 369.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2805, allocations: 83.45 kB / 369.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.2806, allocations: 28 kB / 369.5 MB, free: 9.023 MB / 318.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.001509/0.2821, allocations: 0.525 MB / 370 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.2826, allocations: 90.88 kB / 370.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.2848, allocations: 0.6902 MB / 370.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2849, allocations: 8 kB / 370.8 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.2849, allocations: 7.938 kB / 370.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.2849, allocations: 3.984 kB / 370.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.2903, allocations: 1.652 MB / 372.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.2904, allocations: 0 / 372.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/0.2912, allocations: 111.8 kB / 372.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007121/0.292, allocations: 152.6 kB / 372.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.2921, allocations: 16 kB / 372.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.2974, allocations: 2.852 MB / 375.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2974, allocations: 0 / 375.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/0.3017, allocations: 1.468 MB / 377.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.3024, allocations: 196 kB / 377.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.3029, allocations: 16.12 kB / 377.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.304, allocations: 63.88 kB / 377.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.3043, allocations: 47.92 kB / 377.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/0.3044, allocations: 19.98 kB / 377.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002004/0.3064, allocations: 0.737 MB / 378.1 MB, free: 104 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3065, allocations: 0 / 378.1 MB, free: 104 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.2964/0.6029, allocations: 361.6 kB / 378.5 MB, free: 52.74 MB / 318.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.004804/0.6078, allocations: 2.057 MB / 380.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.6103, allocations: 0.8261 MB / 381.4 MB, free: 51.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6103, allocations: 5.625 kB / 381.4 MB, free: 51.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.6119, allocations: 0.5805 MB / 382 MB, free: 51.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.6137, allocations: 176.1 kB / 382.1 MB, free: 51.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.6388, allocations: 11.13 MB / 393.3 MB, free: 46.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.6407, allocations: 1.503 MB / 394.8 MB, free: 45.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001286/0.642, allocations: 229.2 kB / 395 MB, free: 45.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008278/0.6428, allocations: 483.7 kB / 395.5 MB, free: 44.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6428, allocations: 0 / 395.5 MB, free: 44.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07135/0.7142, allocations: 22.53 MB / 418 MB, free: 24.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.65, allocations: 8 kB / 418 MB, free: 24.8 MB / 318.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