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.001182/0.001182, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 78.58 kB / 306.4 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08646, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008246/0.09475, allocations: 6.606 MB / 363.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.09893, allocations: 2.258 MB / 365.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.1, allocations: 39.81 kB / 365.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1012, allocations: 310.3 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.1035, allocations: 0.7739 MB / 366.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.1044, allocations: 323.2 kB / 367.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.1081, allocations: 3.566 MB / 370.8 MB, free: 288 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1732/0.2813, allocations: 1.658 MB / 372.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.2835, allocations: 1.113 MB / 373.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.2863, allocations: 1.559 MB / 375.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.2868, allocations: 194.9 kB / 375.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2878, allocations: 328.9 kB / 375.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008288/0.2887, allocations: 0.7483 MB / 376.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.2903, allocations: 1.341 MB / 377.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.2938, allocations: 3.971 MB / 381.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2938, allocations: 0 / 381.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2938, allocations: 3.938 kB / 381.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.335e-05/0.2939, allocations: 0 / 381.7 MB, free: 7.57 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.006766/0.3006, allocations: 3.479 MB / 385.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3007, allocations: 9.562 kB / 385.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003703/0.301, allocations: 342.2 kB / 385.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.3052, allocations: 0.7636 MB / 386.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.3076, allocations: 1.663 MB / 387.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3078, allocations: 174.5 kB / 388.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.3081, allocations: 236 kB / 388.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/0.3128, allocations: 3.202 MB / 391.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.3128, allocations: 1.375 kB / 391.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.313, allocations: 91.25 kB / 391.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/0.3131, allocations: 68 kB / 391.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.317, allocations: 2.869 MB / 394.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.3296, allocations: 9.242 MB / 403.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.334, allocations: 4.38 MB / 408.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.3352, allocations: 0.8075 MB / 409 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003668/0.3388, allocations: 3.153 MB / 412.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3389, allocations: 42.89 kB / 412.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.224e-06/0.3389, allocations: 0 / 412.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.007357/0.3462, allocations: 4.201 MB / 416.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3463, allocations: 118.8 kB / 416.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.3483, allocations: 1.621 MB / 418.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.3484, allocations: 41.7 kB / 418.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.3491, allocations: 1.116 MB / 419.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.3493, allocations: 353.8 kB / 419.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.3497, allocations: 242.8 kB / 419.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3498, allocations: 361.9 kB / 420.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009424/0.3508, allocations: 0.6348 MB / 420.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3519, allocations: 1.019 MB / 421.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.354, allocations: 1.69 MB / 423.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3541, allocations: 4 kB / 423.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003109/0.3572, allocations: 1.949 MB / 425.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3572, allocations: 8 kB / 425.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3572, allocations: 16.03 kB / 425.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.3576, allocations: 125.6 kB / 425.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3588, allocations: 332.8 kB / 426 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.3615, allocations: 3.185 MB / 429.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/0.3625, allocations: 95.97 kB / 429.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.3626, allocations: 56 kB / 429.3 MB, free: 15.41 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.001261/0.3638, allocations: 0.8341 MB / 430.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.3641, allocations: 154.1 kB / 430.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.3665, allocations: 1.399 MB / 431.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3665, allocations: 12 kB / 431.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3665, allocations: 4 kB / 431.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3665, allocations: 3.984 kB / 431.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.3701, allocations: 2.453 MB / 434.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3701, allocations: 4 kB / 434.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.3709, allocations: 183.8 kB / 434.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/0.3715, allocations: 261.1 kB / 434.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.3716, allocations: 31.98 kB / 434.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/0.3767, allocations: 5.784 MB / 440.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3767, allocations: 0 / 440.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.3805, allocations: 2.558 MB / 443 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.381, allocations: 251.2 kB / 443.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.3812, allocations: 27.98 kB / 443.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.382, allocations: 87.91 kB / 443.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.3822, allocations: 103.6 kB / 443.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.3823, allocations: 31.98 kB / 443.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.3838, allocations: 1.132 MB / 444.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3838, allocations: 4 kB / 444.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001504/0.3854, allocations: 440 kB / 445 MB, free: 15.22 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.00397/0.3893, allocations: 3.17 MB / 448.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.3921, allocations: 1.701 MB / 449.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3921, allocations: 0.5625 kB / 449.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.3939, allocations: 1.174 MB / 451.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.3954, allocations: 276.8 kB / 451.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.4212, allocations: 19.91 MB / 471.2 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4227, allocations: 2.105 MB / 473.3 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.4239, allocations: 451.5 kB / 473.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009187/0.4248, allocations: 0.8273 MB / 474.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4248, allocations: 0 / 474.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05596/0.4808, allocations: 36.45 MB / 0.4991 GB, free: 12.54 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.481, allocations: 250.9 kB / 0.4993 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.856, allocations: 7.625 kB / 0.4993 GB, free: 12.28 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