Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 92.28 kB / 16.65 MB, free: 6.535 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.001716/0.001716, allocations: 175 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 8 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 50.41 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005418/0.1276, allocations: 4.227 MB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.1311, allocations: 1.659 MB / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.1319, allocations: 23.88 kB / 357.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.1327, allocations: 214.9 kB / 358.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.1347, allocations: 0.6418 MB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.1354, allocations: 203.6 kB / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.1382, allocations: 2.164 MB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1398, allocations: 1.079 MB / 362.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009822/0.1408, allocations: 0.6029 MB / 362.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.1422, allocations: 0.848 MB / 363.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.1427, allocations: 87.94 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009665/0.1436, allocations: 203.9 kB / 363.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006455/0.1443, allocations: 418.4 kB / 364.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.1458, allocations: 0.7789 MB / 365.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.1488, allocations: 2.413 MB / 367.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1488, allocations: 0 / 367.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1488, allocations: 0 / 367.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.413e-05/0.1489, allocations: 0 / 367.5 MB, free: 3.965 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005294/0.1542, allocations: 1.911 MB / 369.4 MB, free: 2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.1543, allocations: 12.03 kB / 369.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007105/0.155, allocations: 210.8 kB / 369.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.1571, allocations: 374.6 kB / 370 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.1593, allocations: 1.06 MB / 371 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.1594, allocations: 103 kB / 371.1 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.1597, allocations: 135.9 kB / 371.3 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1987/0.3584, allocations: 1.893 MB / 373.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.3584, allocations: 0 / 373.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.3586, allocations: 54.47 kB / 373.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.3587, allocations: 50.23 kB / 373.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.3619, allocations: 1.715 MB / 375 MB, free: 22.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009579/0.3715, allocations: 5.602 MB / 380.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.3745, allocations: 2.925 MB / 383.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/0.3754, allocations: 0.5139 MB / 384 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/0.3777, allocations: 1.527 MB / 385.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3778, allocations: 49.59 kB / 385.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.3778, allocations: 1.062 kB / 385.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003305/0.3811, allocations: 1.454 MB / 387.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3812, allocations: 83.8 kB / 387.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.3828, allocations: 1.031 MB / 388.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.3829, allocations: 37.7 kB / 388.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.3833, allocations: 0.6753 MB / 388.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3835, allocations: 190.3 kB / 389.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.3836, allocations: 58.91 kB / 389.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.3837, allocations: 338.2 kB / 389.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.3843, allocations: 367.3 kB / 389.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.3851, allocations: 0.5322 MB / 390.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.3865, allocations: 0.9045 MB / 391.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3865, allocations: 3.906 kB / 391.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001732/0.3883, allocations: 1.031 MB / 392.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3883, allocations: 11.81 kB / 392.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3883, allocations: 7.906 kB / 392.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3883, allocations: 8.75 kB / 392.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.3891, allocations: 186.2 kB / 392.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.3891, allocations: 17.03 kB / 392.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.3897, allocations: 89.92 kB / 392.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.3898, allocations: 24.78 kB / 392.6 MB, free: 11.95 MB / 302.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.001094/0.3909, allocations: 0.5246 MB / 393.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3911, allocations: 90.75 kB / 393.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3925, allocations: 0.6943 MB / 393.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3925, allocations: 5.5 kB / 393.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.3925, allocations: 8.125 kB / 393.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.3926, allocations: 9.297 kB / 393.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3954, allocations: 1.667 MB / 395.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3954, allocations: 7.875 kB / 395.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.3958, allocations: 101 kB / 395.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.3963, allocations: 146.3 kB / 395.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.3963, allocations: 23.73 kB / 395.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.3989, allocations: 2.62 MB / 398.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3989, allocations: 3.938 kB / 398.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4008, allocations: 1.521 MB / 400 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.401, allocations: 188 kB / 400.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/0.4011, allocations: 19.98 kB / 400.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.4016, allocations: 67.94 kB / 400.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4017, allocations: 51.86 kB / 400.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.4017, allocations: 23.98 kB / 400.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007699/0.4025, allocations: 0.7293 MB / 401.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4025, allocations: 0 / 401.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009953/0.4035, allocations: 361.4 kB / 401.5 MB, free: 4.871 MB / 302.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.002112/0.4056, allocations: 2.096 MB / 403.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4068, allocations: 0.795 MB / 404.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4068, allocations: 5.062 kB / 404.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.4077, allocations: 0.5923 MB / 404.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4087, allocations: 175.1 kB / 405.1 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.4252, allocations: 11.83 MB / 416.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.4265, allocations: 1.498 MB / 418.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007362/0.4273, allocations: 234.7 kB / 418.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/0.4279, allocations: 479.3 kB / 419.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4279, allocations: 0 / 419.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04381/0.4717, allocations: 21.51 MB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.4719, allocations: 254 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.827, allocations: 0 / 440.9 MB, free: 13.35 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches