Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.0009152, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001083/0.001083, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.000458, allocations: 8 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.0875, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004585/0.09213, allocations: 4.193 MB / 333.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.095, allocations: 1.687 MB / 334.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.09526, allocations: 23.88 kB / 334.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.09577, allocations: 226.8 kB / 335.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.09711, allocations: 0.6379 MB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.09756, allocations: 215.6 kB / 335.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.09997, allocations: 2.164 MB / 338.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.1011, allocations: 1.043 MB / 339.1 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007283/0.1019, allocations: 0.599 MB / 339.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009364/0.1028, allocations: 0.8557 MB / 340.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.103, allocations: 84 kB / 340.7 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.1034, allocations: 211.9 kB / 340.9 MB, free: 7.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.1038, allocations: 414.5 kB / 341.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.1045, allocations: 0.7867 MB / 342.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.1064, allocations: 2.414 MB / 344.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1064, allocations: 0 / 344.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1064, allocations: 0 / 344.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.1064, allocations: 0 / 344.5 MB, free: 4.121 MB / 286.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.003805/0.1103, allocations: 1.911 MB / 346.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1103, allocations: 12.03 kB / 346.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.112, allocations: 362.6 kB / 346.8 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.1136, allocations: 1.04 MB / 347.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.1137, allocations: 95.05 kB / 347.9 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.1139, allocations: 144.1 kB / 348 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.1169, allocations: 1.898 MB / 349.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.1169, allocations: 7.938 kB / 350 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.117, allocations: 56 kB / 350 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/0.1171, allocations: 42 kB / 350 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.1199, allocations: 1.711 MB / 351.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.1286, allocations: 5.626 MB / 357.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/0.132, allocations: 2.927 MB / 360.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.1328, allocations: 0.502 MB / 360.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.135, allocations: 1.544 MB / 362.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.135, allocations: 42.56 kB / 362.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.135, allocations: 0 / 362.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003201/0.1382, allocations: 1.462 MB / 363.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1383, allocations: 89.05 kB / 363.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1395, allocations: 1.028 MB / 365 MB, free: 14.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1396, allocations: 37.7 kB / 365 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.14, allocations: 0.6735 MB / 365.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1402, allocations: 185.3 kB / 365.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.1403, allocations: 61.69 kB / 365.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1404, allocations: 337.9 kB / 366.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.141, allocations: 373 kB / 366.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.1417, allocations: 0.5326 MB / 367.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.1429, allocations: 0.8985 MB / 368.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1429, allocations: 0 / 368.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001669/0.1446, allocations: 1.029 MB / 369.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1447, allocations: 11.98 kB / 369.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1447, allocations: 4 kB / 369.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1447, allocations: 11.94 kB / 369.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.1455, allocations: 187.7 kB / 369.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1455, allocations: 8 kB / 369.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.146, allocations: 99.36 kB / 369.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.1461, allocations: 27.98 kB / 369.4 MB, free: 10.08 MB / 318.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.0007424/0.1468, allocations: 0.5289 MB / 370 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.147, allocations: 91.16 kB / 370 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.1483, allocations: 0.6942 MB / 370.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1484, allocations: 4 kB / 370.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.1484, allocations: 7.938 kB / 370.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1484, allocations: 7.922 kB / 370.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.1508, allocations: 1.671 MB / 372.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1509, allocations: 4 kB / 372.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.1513, allocations: 104 kB / 372.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/0.1518, allocations: 151.8 kB / 372.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.1518, allocations: 19.98 kB / 372.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.1547, allocations: 2.618 MB / 375.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1547, allocations: 4.031 kB / 375.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.157, allocations: 1.511 MB / 376.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.1572, allocations: 188 kB / 377 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.1573, allocations: 16 kB / 377 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.1579, allocations: 72.05 kB / 377.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.158, allocations: 59.8 kB / 377.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.1581, allocations: 16 kB / 377.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008945/0.159, allocations: 0.7371 MB / 377.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.159, allocations: 0 / 377.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009817/0.16, allocations: 354.5 kB / 378.3 MB, free: 0.9648 MB / 318.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.000241/0.1602, allocations: 147.1 kB / 378.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1615, allocations: 0.7951 MB / 379.2 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1615, allocations: 0 / 379.2 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1392/0.3008, allocations: 0.5936 MB / 379.8 MB, free: 52.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.302, allocations: 170.1 kB / 380 MB, free: 52.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.3064, allocations: 3.487 MB / 383.4 MB, free: 50.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.3075, allocations: 1.493 MB / 384.9 MB, free: 50.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006977/0.3082, allocations: 231.7 kB / 385.2 MB, free: 50.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3084, allocations: 62.33 kB / 385.2 MB, free: 50.08 MB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3084, allocations: 0 / 385.2 MB, free: 50.08 MB / 318.1 MB Notification: Performance of Templates: time 0.01858/0.327, allocations: 10.89 MB / 396.1 MB, free: 46.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches