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.001331/0.001331, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002209/0.00221, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 55.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2443, allocations: 50.56 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008217/0.2525, allocations: 6.663 MB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2569, allocations: 2.254 MB / 417.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.2575, allocations: 39.88 kB / 417.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.2584, allocations: 369.4 kB / 418.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.2605, allocations: 0.8355 MB / 419 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.2614, allocations: 355.3 kB / 419.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.2653, allocations: 3.195 MB / 422.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.2678, allocations: 2.011 MB / 424.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.2696, allocations: 1.296 MB / 425.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.2716, allocations: 1.627 MB / 427.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.2722, allocations: 296 kB / 427.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009527/0.2731, allocations: 431.9 kB / 428.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.274, allocations: 0.853 MB / 429 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.276, allocations: 1.47 MB / 430.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.2806, allocations: 4.129 MB / 434.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2806, allocations: 0 / 434.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2806, allocations: 4 kB / 434.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-05/0.2807, allocations: 0 / 434.6 MB, free: 7.543 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008428/0.2891, allocations: 3.557 MB / 438.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2892, allocations: 8.031 kB / 438.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004591/0.2897, allocations: 341.2 kB / 438.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.2939, allocations: 0.7524 MB / 439.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.2973, allocations: 1.743 MB / 441 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.2974, allocations: 169 kB / 441.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.2978, allocations: 235.9 kB / 441.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/0.3035, allocations: 3.215 MB / 444.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.3036, allocations: 0 / 444.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.3038, allocations: 96 kB / 444.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.3039, allocations: 75.31 kB / 444.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.3091, allocations: 2.882 MB / 447.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.3252, allocations: 9.345 MB / 457 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.3307, allocations: 4.39 MB / 461.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3321, allocations: 0.8053 MB / 462.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004473/0.3366, allocations: 3.158 MB / 465.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3366, allocations: 54.83 kB / 465.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.685e-06/0.3366, allocations: 0 / 465.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008622/0.3453, allocations: 4.29 MB / 469.7 MB, free: 2.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3454, allocations: 115.2 kB / 469.8 MB, free: 2.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.3479, allocations: 1.621 MB / 471.5 MB, free: 1.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.3481, allocations: 49.7 kB / 471.5 MB, free: 1.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.349, allocations: 1.145 MB / 472.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.3493, allocations: 372.9 kB / 473 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.3497, allocations: 242.8 kB / 473.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3499, allocations: 353.9 kB / 473.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.351, allocations: 0.6388 MB / 474.2 MB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3524, allocations: 1.012 MB / 475.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.355, allocations: 1.701 MB / 477 MB, free: 11.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.355, allocations: 4 kB / 477 MB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003763/0.3588, allocations: 1.953 MB / 478.9 MB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.3588, allocations: 15.98 kB / 478.9 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.3588, allocations: 12 kB / 478.9 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.3592, allocations: 126.2 kB / 479.1 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3606, allocations: 335.5 kB / 479.4 MB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.364, allocations: 3.426 MB / 482.8 MB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3652, allocations: 103.7 kB / 482.9 MB, free: 5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3653, allocations: 56 kB / 483 MB, free: 4.945 MB / 398.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.001401/0.3667, allocations: 0.8405 MB / 483.8 MB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.3671, allocations: 159 kB / 484 MB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.3698, allocations: 1.389 MB / 485.4 MB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.3698, allocations: 15.98 kB / 485.4 MB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3698, allocations: 4 kB / 485.4 MB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3698, allocations: 7.922 kB / 485.4 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.3736, allocations: 2.454 MB / 487.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3737, allocations: 4.188 kB / 487.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.3745, allocations: 191.8 kB / 488 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007253/0.3752, allocations: 257.4 kB / 488.3 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.3753, allocations: 31.98 kB / 488.3 MB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006535/0.3819, allocations: 6.252 MB / 494.6 MB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3819, allocations: 4.031 kB / 494.6 MB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.3862, allocations: 2.569 MB / 497.1 MB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.3867, allocations: 260 kB / 497.4 MB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.3869, allocations: 24.19 kB / 497.4 MB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/0.3878, allocations: 103.9 kB / 497.5 MB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.388, allocations: 96.16 kB / 497.6 MB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.3881, allocations: 31.98 kB / 497.6 MB, free: 5.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.3898, allocations: 1.132 MB / 498.8 MB, free: 4.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 0 / 498.8 MB, free: 4.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001477/0.3913, allocations: 455.9 kB / 499.2 MB, free: 4.102 MB / 414.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.004583/0.3959, allocations: 3.168 MB / 0.4906 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.399, allocations: 1.723 MB / 0.4923 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.399, allocations: 0 / 0.4923 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.401, allocations: 1.183 MB / 0.4934 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.4026, allocations: 271.7 kB / 0.4937 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/0.429, allocations: 17.47 MB / 0.5108 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.4309, allocations: 2.109 MB / 0.5128 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.4321, allocations: 451.5 kB / 0.5133 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.4332, allocations: 0.8312 MB / 0.5141 GB, free: 8.242 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4332, allocations: 0 / 0.5141 GB, free: 8.242 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2746/0.7078, allocations: 38.27 MB / 0.5514 GB, free: 122.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.46, allocations: 5.938 kB / 0.5514 GB, free: 122.4 MB / 462.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.1.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