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.001024/0.001024, allocations: 106.2 kB / 16.51 MB, free: 6.707 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.001048/0.001048, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.2/1.2, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009682/0.0009683, allocations: 51.14 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.08845, allocations: 49.44 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005252/0.09373, allocations: 4.652 MB / 354.2 MB, free: 76 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.09642, allocations: 1.686 MB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.09692, allocations: 27.88 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.0976, allocations: 222.9 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.09912, allocations: 0.6573 MB / 356.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.0996, allocations: 203.6 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1016, allocations: 2.162 MB / 359.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1028, allocations: 1.087 MB / 360.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007429/0.1035, allocations: 0.6654 MB / 360.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1046, allocations: 0.9495 MB / 361.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.1049, allocations: 120 kB / 361.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.1055, allocations: 239.9 kB / 362.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.1059, allocations: 474.3 kB / 362.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.1068, allocations: 0.8123 MB / 363.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.1087, allocations: 2.492 MB / 365.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1087, allocations: 0 / 365.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1087, allocations: 0 / 365.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.937e-05/0.1088, allocations: 0 / 365.9 MB, free: 4.23 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.0046/0.1134, allocations: 2.179 MB / 368.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1135, allocations: 8.031 kB / 368.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/0.1138, allocations: 206.8 kB / 368.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.1155, allocations: 362.7 kB / 368.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.1171, allocations: 1.064 MB / 369.7 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.1172, allocations: 107 kB / 369.8 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.1174, allocations: 135.9 kB / 370 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1417/0.2591, allocations: 1.885 MB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.2591, allocations: 0 / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.2593, allocations: 52.53 kB / 371.9 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.2593, allocations: 50.28 kB / 372 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.2618, allocations: 1.684 MB / 373.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007442/0.2692, allocations: 5.552 MB / 379.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.2715, allocations: 2.907 MB / 382.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.2722, allocations: 0.4974 MB / 382.6 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.274, allocations: 1.529 MB / 384.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.274, allocations: 49.19 kB / 384.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.2741, allocations: 0 / 384.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002692/0.2767, allocations: 1.408 MB / 385.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2768, allocations: 86.02 kB / 385.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2779, allocations: 1.029 MB / 386.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.2779, allocations: 37.39 kB / 386.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.2782, allocations: 0.6851 MB / 387.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.2783, allocations: 184.3 kB / 387.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2785, allocations: 128.2 kB / 387.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.2785, allocations: 335.2 kB / 388.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.279, allocations: 356.6 kB / 388.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.2796, allocations: 0.5147 MB / 388.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2807, allocations: 0.8792 MB / 389.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2807, allocations: 2.188 kB / 389.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00136/0.2821, allocations: 1.006 MB / 390.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2821, allocations: 17 kB / 390.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2821, allocations: 5.469 kB / 390.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2821, allocations: 8.969 kB / 390.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.2828, allocations: 184.9 kB / 391 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2828, allocations: 11.81 kB / 391 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.2833, allocations: 82.89 kB / 391.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.2833, allocations: 31.69 kB / 391.1 MB, free: 12.75 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.0005019/0.2838, allocations: 0.5222 MB / 391.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.284, allocations: 94.19 kB / 391.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.285, allocations: 0.6867 MB / 392.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.285, allocations: 5.062 kB / 392.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.285, allocations: 7.25 kB / 392.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2851, allocations: 7.922 kB / 392.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.287, allocations: 1.646 MB / 394.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.287, allocations: 5.312 kB / 394.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.2875, allocations: 101.8 kB / 394.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/0.2878, allocations: 149.7 kB / 394.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.2879, allocations: 20.05 kB / 394.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.29, allocations: 2.61 MB / 397 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.29, allocations: 0 / 397 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2917, allocations: 1.478 MB / 398.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2919, allocations: 188 kB / 398.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.292, allocations: 19.98 kB / 398.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.2925, allocations: 55.94 kB / 398.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2926, allocations: 55.86 kB / 398.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.2927, allocations: 23.97 kB / 398.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.2933, allocations: 0.7293 MB / 399.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2933, allocations: 0 / 399.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.2941, allocations: 361.4 kB / 399.9 MB, free: 6.023 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.001868/0.296, allocations: 2.069 MB / 401.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.297, allocations: 0.765 MB / 402.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.297, allocations: 4.312 kB / 402.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.2978, allocations: 0.5804 MB / 403.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.2987, allocations: 176 kB / 403.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.3119, allocations: 11.66 MB / 415.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009807/0.3129, allocations: 1.495 MB / 416.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006348/0.3136, allocations: 237.8 kB / 416.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.3141, allocations: 483.3 kB / 417.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3141, allocations: 0 / 417.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3289/0.643, allocations: 21.84 MB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.6434, allocations: 250.8 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.24, allocations: 0 / 439.4 MB, free: 14.39 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