Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008018/0.0008019, allocations: 96.72 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009394/0.0009395, allocations: 209.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001906/0.0001907, allocations: 4 kB / 307.8 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.07923, allocations: 51.53 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00573/0.08498, allocations: 6.112 MB / 365.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.08853, allocations: 2.215 MB / 367.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.08916, allocations: 35.88 kB / 367.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.08987, allocations: 318.3 kB / 368 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.09168, allocations: 0.77 MB / 368.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.09236, allocations: 311.5 kB / 369.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1512/0.2436, allocations: 3.563 MB / 372.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.2454, allocations: 1.66 MB / 374.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.2467, allocations: 0.9845 MB / 375.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.2481, allocations: 1.401 MB / 376.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.2483, allocations: 136.3 kB / 376.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.2489, allocations: 271.6 kB / 377.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.2494, allocations: 0.6571 MB / 377.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009343/0.2504, allocations: 1.269 MB / 379.1 MB, free: 8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.2535, allocations: 3.851 MB / 382.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2535, allocations: 0 / 382.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2536, allocations: 1.094 kB / 382.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.547e-05/0.2536, allocations: 6.625 kB / 382.9 MB, free: 7.488 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005909/0.2595, allocations: 3.036 MB / 385.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2596, allocations: 14 kB / 386 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003559/0.2599, allocations: 332.7 kB / 386.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.2638, allocations: 0.7903 MB / 387.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.266, allocations: 1.658 MB / 388.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.2661, allocations: 179.6 kB / 388.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.2664, allocations: 229.9 kB / 389.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.2709, allocations: 3.217 MB / 392.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.2709, allocations: 4 kB / 392.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.2711, allocations: 92.69 kB / 392.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/0.2712, allocations: 76.27 kB / 392.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.2751, allocations: 2.9 MB / 395.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.2871, allocations: 9.319 MB / 404.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.2916, allocations: 4.394 MB / 409.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2928, allocations: 0.836 MB / 410 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003586/0.2964, allocations: 3.16 MB / 413.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2964, allocations: 45.52 kB / 413.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.255e-06/0.2964, allocations: 0 / 413.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.006999/0.3034, allocations: 4.273 MB / 417.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3035, allocations: 119.2 kB / 417.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.3055, allocations: 1.621 MB / 419.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.3055, allocations: 41.7 kB / 419.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007295/0.3063, allocations: 1.114 MB / 420.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.3065, allocations: 360.7 kB / 420.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3067, allocations: 105.7 kB / 420.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3068, allocations: 361.3 kB / 421.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/0.3078, allocations: 0.6583 MB / 421.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.309, allocations: 1.028 MB / 422.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.3113, allocations: 1.729 MB / 424.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3113, allocations: 4 kB / 424.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002944/0.3142, allocations: 1.989 MB / 426.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3143, allocations: 8 kB / 426.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3143, allocations: 12 kB / 426.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.3146, allocations: 133.3 kB / 426.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.3158, allocations: 337 kB / 427 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.3183, allocations: 3.181 MB / 430.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008748/0.3192, allocations: 119.6 kB / 430.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.3192, allocations: 56 kB / 430.4 MB, free: 15.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.3204, allocations: 0.8302 MB / 431.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3207, allocations: 150.2 kB / 431.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.323, allocations: 1.426 MB / 432.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.323, allocations: 12 kB / 432.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3231, allocations: 4 kB / 432.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3231, allocations: 3.984 kB / 432.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.3262, allocations: 2.464 MB / 435.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3263, allocations: 0 / 435.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.327, allocations: 190.5 kB / 435.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/0.3276, allocations: 264.3 kB / 435.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/0.3277, allocations: 35.97 kB / 435.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004975/0.3327, allocations: 5.79 MB / 441.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3327, allocations: 3.75 kB / 441.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.3363, allocations: 2.603 MB / 444.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.3367, allocations: 251.1 kB / 444.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.3369, allocations: 31.98 kB / 444.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/0.3377, allocations: 103.9 kB / 444.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.338, allocations: 108 kB / 444.6 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.338, allocations: 31.92 kB / 444.7 MB, free: 408 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.3397, allocations: 1.132 MB / 445.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3397, allocations: 0 / 445.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001676/0.3414, allocations: 448 kB / 446.2 MB, free: 14.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/0.3457, allocations: 3.212 MB / 449.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002698/0.3484, allocations: 1.75 MB / 451.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3485, allocations: 1.75 kB / 451.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.3502, allocations: 1.19 MB / 452.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.3519, allocations: 267.2 kB / 452.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/0.3783, allocations: 20.15 MB / 472.8 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.3802, allocations: 2.113 MB / 474.9 MB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.3814, allocations: 447.5 kB / 475.3 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/0.3824, allocations: 0.825 MB / 476.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3824, allocations: 0 / 476.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/0.437, allocations: 35.94 MB / 0.5001 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.4373, allocations: 253.8 kB / 0.5003 GB, free: 12.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.704, allocations: 0 / 0.5003 GB, free: 12.07 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches