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.001115/0.001116, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.00113/0.00113, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.211/1.211, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 48.36 kB / 300.2 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08508, allocations: 49.45 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005269/0.09037, allocations: 4.647 MB / 354.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.09302, allocations: 1.662 MB / 356 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.09347, allocations: 27.88 kB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.09404, allocations: 230.8 kB / 356.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.09543, allocations: 0.634 MB / 356.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.09587, allocations: 200.2 kB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.0976, allocations: 1.88 MB / 359 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.0988, allocations: 1.289 MB / 360.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.09946, allocations: 0.7981 MB / 361.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.1004, allocations: 1.008 MB / 362.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.1006, allocations: 188 kB / 362.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1011, allocations: 307.8 kB / 362.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003887/0.1015, allocations: 0.5453 MB / 363.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.1022, allocations: 0.8905 MB / 364 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.104, allocations: 2.547 MB / 366.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.104, allocations: 0 / 366.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.104, allocations: 4 kB / 366.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1041, allocations: 0 / 366.5 MB, free: 3.734 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.004035/0.1081, allocations: 2.179 MB / 368.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1082, allocations: 16.02 kB / 368.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.1084, allocations: 202.8 kB / 368.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.1101, allocations: 362.7 kB / 369.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1388/0.2489, allocations: 1.068 MB / 370.3 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.249, allocations: 103.5 kB / 370.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.2493, allocations: 131.2 kB / 370.6 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.2521, allocations: 1.89 MB / 372.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.2522, allocations: 1.062 kB / 372.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.2523, allocations: 52.5 kB / 372.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.2524, allocations: 50.84 kB / 372.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.2547, allocations: 1.689 MB / 374.3 MB, free: 23.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.2617, allocations: 5.545 MB / 379.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.264, allocations: 2.91 MB / 382.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.2646, allocations: 0.496 MB / 383.2 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.2663, allocations: 1.546 MB / 384.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2663, allocations: 41.97 kB / 384.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.2663, allocations: 3.844 kB / 384.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002574/0.2689, allocations: 1.406 MB / 386.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.269, allocations: 82.73 kB / 386.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.2699, allocations: 1.028 MB / 387.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.27, allocations: 36.86 kB / 387.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.2702, allocations: 0.6813 MB / 388 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.2703, allocations: 189.4 kB / 388.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.2705, allocations: 125 kB / 388.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.2706, allocations: 333.7 kB / 388.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.2711, allocations: 356.6 kB / 389 MB, free: 14.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.2716, allocations: 0.5181 MB / 389.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.2726, allocations: 0.8716 MB / 390.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2726, allocations: 10 kB / 390.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00119/0.2738, allocations: 1.006 MB / 391.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2738, allocations: 7.781 kB / 391.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2738, allocations: 5.25 kB / 391.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2739, allocations: 7.281 kB / 391.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.2745, allocations: 190.8 kB / 391.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2745, allocations: 11.34 kB / 391.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.275, allocations: 85.8 kB / 391.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.275, allocations: 28.03 kB / 391.7 MB, free: 12.61 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.0004629/0.2755, allocations: 0.5245 MB / 392.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2756, allocations: 94.86 kB / 392.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2766, allocations: 0.6794 MB / 393 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2767, allocations: 5.906 kB / 393 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2767, allocations: 3.25 kB / 393.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2767, allocations: 7.984 kB / 393.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.2785, allocations: 1.655 MB / 394.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2785, allocations: 7.656 kB / 394.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.2789, allocations: 102.6 kB / 394.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003359/0.2792, allocations: 145.1 kB / 395 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.2793, allocations: 18.3 kB / 395 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.2814, allocations: 2.844 MB / 397.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2814, allocations: 0 / 397.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.283, allocations: 1.488 MB / 399.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2832, allocations: 188 kB / 399.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2833, allocations: 16 kB / 399.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.2837, allocations: 59.92 kB / 399.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2839, allocations: 54.55 kB / 399.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2839, allocations: 20 kB / 399.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006326/0.2845, allocations: 0.7293 MB / 400.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2845, allocations: 1.781 kB / 400.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.2853, allocations: 363.4 kB / 400.7 MB, free: 5.449 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.001791/0.2871, allocations: 2.064 MB / 402.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2881, allocations: 0.827 MB / 403.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2881, allocations: 4.141 kB / 403.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.2889, allocations: 0.5882 MB / 404.2 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.2896, allocations: 185.8 kB / 404.4 MB, free: 1.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.3017, allocations: 11.64 MB / 416 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.3026, allocations: 1.499 MB / 417.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000549/0.3032, allocations: 230.7 kB / 417.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.3037, allocations: 487.7 kB / 418.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3037, allocations: 0 / 418.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.05/3.353, allocations: 22.27 MB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/3.354, allocations: 258.4 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/6.195, allocations: 0 / 440.8 MB, free: 13.36 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