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.001296/0.001296, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001243/0.001243, allocations: 200 kB / 18.01 MB, free: 5.047 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2769, allocations: 49.44 MB / 400.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006464/0.2834, allocations: 4.653 MB / 404.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.2867, allocations: 1.697 MB / 406.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.2871, allocations: 23.94 kB / 406.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.2879, allocations: 258.3 kB / 406.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.2896, allocations: 0.6841 MB / 407.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.2901, allocations: 230.3 kB / 407.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.2924, allocations: 1.883 MB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.294, allocations: 1.288 MB / 410.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.295, allocations: 0.7904 MB / 411.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.2963, allocations: 0.9808 MB / 412.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.2965, allocations: 188 kB / 412.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.2972, allocations: 311.9 kB / 413.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.2977, allocations: 0.5375 MB / 413.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009966/0.2987, allocations: 0.8866 MB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.3015, allocations: 2.584 MB / 417.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3015, allocations: 0 / 417.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3015, allocations: 0 / 417.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.3016, allocations: 4 kB / 417.2 MB, free: 7.715 MB / 334.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.004962/0.3065, allocations: 2.216 MB / 419.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3066, allocations: 12.03 kB / 419.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.3069, allocations: 206.8 kB / 419.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.3087, allocations: 371.6 kB / 420 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.3106, allocations: 1.103 MB / 421.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.3107, allocations: 99.05 kB / 421.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.3109, allocations: 135.9 kB / 421.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.3141, allocations: 1.886 MB / 423.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.3141, allocations: 8 kB / 423.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.3142, allocations: 52 kB / 423.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.564e-05/0.3143, allocations: 45.98 kB / 423.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/0.3172, allocations: 1.687 MB / 425 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008846/0.3261, allocations: 5.51 MB / 430.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.3296, allocations: 2.897 MB / 433.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.3304, allocations: 0.4987 MB / 433.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.3328, allocations: 1.533 MB / 435.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.3329, allocations: 54.62 kB / 435.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.3329, allocations: 0 / 435.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003376/0.3363, allocations: 1.408 MB / 436.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3364, allocations: 88.98 kB / 437 MB, free: 2.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.3378, allocations: 1.028 MB / 438 MB, free: 1.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.3378, allocations: 37.7 kB / 438.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.3384, allocations: 0.687 MB / 438.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.3386, allocations: 198.3 kB / 439 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3388, allocations: 126.3 kB / 439.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.339, allocations: 338 kB / 439.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.3396, allocations: 357 kB / 439.8 MB, free: 200 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/0.3404, allocations: 0.5146 MB / 440.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.3417, allocations: 0.8789 MB / 441.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3418, allocations: 4 kB / 441.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001827/0.3436, allocations: 1.014 MB / 442.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3436, allocations: 12.03 kB / 442.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3436, allocations: 7.938 kB / 442.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3437, allocations: 8 kB / 442.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.3444, allocations: 183.8 kB / 442.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.3445, allocations: 15.94 kB / 442.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.345, allocations: 83.47 kB / 442.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.3451, allocations: 28 kB / 442.5 MB, free: 13.31 MB / 366.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.000845/0.3459, allocations: 0.525 MB / 443 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3461, allocations: 91.44 kB / 443.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3475, allocations: 0.6939 MB / 443.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.3475, allocations: 11.94 kB / 443.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3475, allocations: 3.938 kB / 443.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3475, allocations: 7.984 kB / 443.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.35, allocations: 1.645 MB / 445.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.35, allocations: 0 / 445.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.3505, allocations: 103.8 kB / 445.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.3509, allocations: 155.8 kB / 445.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.351, allocations: 19.98 kB / 445.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.3543, allocations: 2.848 MB / 448.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3544, allocations: 0 / 448.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3568, allocations: 1.477 MB / 450.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.3571, allocations: 192.5 kB / 450.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3572, allocations: 28.06 kB / 450.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.3577, allocations: 59.88 kB / 450.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.3579, allocations: 51.92 kB / 450.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.358, allocations: 19.98 kB / 450.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.359, allocations: 0.7332 MB / 451.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.359, allocations: 3.938 kB / 451.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3601, allocations: 362.8 kB / 451.5 MB, free: 4.027 MB / 366.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.002832/0.3629, allocations: 2.068 MB / 453.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.3644, allocations: 0.7679 MB / 454.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3644, allocations: 1.125 kB / 454.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.3655, allocations: 0.5901 MB / 454.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.3665, allocations: 179.9 kB / 455.1 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.3824, allocations: 10.54 MB / 465.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.3838, allocations: 1.491 MB / 467.1 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006848/0.3845, allocations: 238.7 kB / 467.4 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.3852, allocations: 483.3 kB / 467.8 MB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3852, allocations: 0 / 467.8 MB, free: 3.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/0.4489, allocations: 23.04 MB / 490.9 MB, free: 12.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.74, allocations: 15.08 kB / 490.9 MB, free: 12.56 MB / 414.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