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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.00234/0.00234, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.345/2.345, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 48.42 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1887, allocations: 49.45 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01325/0.202, allocations: 4.652 MB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.2075, allocations: 1.694 MB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2087, allocations: 19.94 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.2102, allocations: 222.8 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.2138, allocations: 0.6525 MB / 357.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2149, allocations: 199.7 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00494/0.2199, allocations: 2.164 MB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.2227, allocations: 1.09 MB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.2245, allocations: 0.6615 MB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.2272, allocations: 0.9572 MB / 362.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006778/0.2279, allocations: 116 kB / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.2297, allocations: 247.9 kB / 362.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.2308, allocations: 466.4 kB / 363.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.2335, allocations: 0.8124 MB / 364 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.2374, allocations: 2.085 MB / 366.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.2375, allocations: 0 / 366.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2375, allocations: 4 kB / 366.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.2376, allocations: 0 / 366.1 MB, free: 4.738 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.009718/0.2473, allocations: 2.172 MB / 368.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.2474, allocations: 8.031 kB / 368.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.2506, allocations: 366.6 kB / 368.6 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.2542, allocations: 1.071 MB / 369.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2543, allocations: 103 kB / 369.8 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004119/0.2548, allocations: 132.1 kB / 369.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3267/0.5815, allocations: 1.887 MB / 371.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.5817, allocations: 0 / 371.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007987/0.5825, allocations: 54.56 kB / 371.9 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.5827, allocations: 48.94 kB / 371.9 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/0.5906, allocations: 1.691 MB / 373.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.6112, allocations: 5.553 MB / 379.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005016/0.6163, allocations: 2.904 MB / 382 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.6179, allocations: 0.4962 MB / 382.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004992/0.6229, allocations: 1.52 MB / 384.1 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.623, allocations: 50.38 kB / 384.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 4.799e-06/0.623, allocations: 0 / 384.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00599/0.629, allocations: 1.404 MB / 385.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6292, allocations: 94.05 kB / 385.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.6324, allocations: 1.028 MB / 386.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.6326, allocations: 31.92 kB / 386.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.6333, allocations: 0.6898 MB / 387.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.6336, allocations: 185.3 kB / 387.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.634, allocations: 127.9 kB / 387.7 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6342, allocations: 330.5 kB / 388 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.6353, allocations: 361.5 kB / 388.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.6366, allocations: 0.5109 MB / 388.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.6389, allocations: 0.8713 MB / 389.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.6389, allocations: 1.188 kB / 389.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003338/0.6422, allocations: 1.023 MB / 390.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.6423, allocations: 6.75 kB / 390.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.6424, allocations: 8.406 kB / 390.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.316e-05/0.6424, allocations: 10.3 kB / 390.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6438, allocations: 183.7 kB / 391 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.604e-05/0.6439, allocations: 11.97 kB / 391 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.6451, allocations: 90.33 kB / 391.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6452, allocations: 24.62 kB / 391.1 MB, free: 12.89 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.001389/0.6466, allocations: 0.5255 MB / 391.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.6471, allocations: 90.28 kB / 391.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.6493, allocations: 0.6826 MB / 392.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.6494, allocations: 11.88 kB / 392.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.6494, allocations: 7.875 kB / 392.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.6494, allocations: 4.266 kB / 392.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.6545, allocations: 1.651 MB / 394 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6545, allocations: 1.438 kB / 394 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.6553, allocations: 96.84 kB / 394.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000786/0.6561, allocations: 150.9 kB / 394.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/0.6563, allocations: 27.02 kB / 394.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.6606, allocations: 2.611 MB / 396.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6606, allocations: 0 / 396.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.6642, allocations: 1.476 MB / 398.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.6648, allocations: 187.2 kB / 398.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.6652, allocations: 23.61 kB / 398.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6663, allocations: 54.5 kB / 398.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.6665, allocations: 59.61 kB / 398.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.6666, allocations: 19.89 kB / 398.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.6684, allocations: 0.7269 MB / 399.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6684, allocations: 2.953 kB / 399.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002044/0.6705, allocations: 361.6 kB / 399.8 MB, free: 6.766 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.0004035/0.6709, allocations: 142.9 kB / 400 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.6731, allocations: 0.7719 MB / 400.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6732, allocations: 0 / 400.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.6748, allocations: 0.5936 MB / 401.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.677, allocations: 168.6 kB / 401.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.6847, allocations: 3.375 MB / 404.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.6862, allocations: 1.457 MB / 406.3 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.6868, allocations: 67.42 kB / 406.4 MB, free: 124 kB / 302.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6868, allocations: 0 / 406.4 MB, free: 124 kB / 302.1 MB Notification: Performance of Templates: time 0.05012/0.7369, allocations: 19.64 MB / 426 MB, free: 12.55 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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