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.001124/0.001124, allocations: 95.31 kB / 16.94 MB, free: 6.441 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.001319/0.001319, allocations: 184.2 kB / 17.83 MB, free: 6.008 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.431/1.431, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004867/0.0004869, allocations: 16 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09942, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004328/0.1038, allocations: 3.718 MB / 332.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.1068, allocations: 1.629 MB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.1074, allocations: 19.88 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1081, allocations: 206.9 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.1098, allocations: 0.545 MB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.1103, allocations: 155.7 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.1122, allocations: 1.185 MB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1133, allocations: 0.8618 MB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.1141, allocations: 0.5566 MB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1152, allocations: 0.7004 MB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.1155, allocations: 84 kB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.1162, allocations: 187.9 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005701/0.1168, allocations: 402.8 kB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.1173, allocations: 324.9 kB / 338.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.1193, allocations: 2.018 MB / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1193, allocations: 0 / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1193, allocations: 4 kB / 340.9 MB, free: 7.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.681e-05/0.1194, allocations: 0 / 340.9 MB, free: 7.461 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.004852/0.1243, allocations: 1.926 MB / 342.8 MB, free: 5.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1243, allocations: 12.03 kB / 342.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.1264, allocations: 361.7 kB / 343.2 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.1285, allocations: 1.012 MB / 344.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.525e-05/0.1287, allocations: 102.7 kB / 344.3 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.129, allocations: 140 kB / 344.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.1327, allocations: 1.871 MB / 346.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.1327, allocations: 0 / 346.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.1329, allocations: 63.94 kB / 346.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.005e-05/0.133, allocations: 46 kB / 346.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.1359, allocations: 1.703 MB / 348.1 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008855/0.1447, allocations: 5.626 MB / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.1479, allocations: 2.921 MB / 356.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.151, allocations: 1.537 MB / 358.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.1511, allocations: 42.55 kB / 358.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/0.1511, allocations: 0 / 358.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003433/0.1545, allocations: 1.438 MB / 359.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.1546, allocations: 89.11 kB / 359.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.156, allocations: 1.02 MB / 360.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.156, allocations: 37.7 kB / 360.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.1565, allocations: 0.6735 MB / 361.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1567, allocations: 193.3 kB / 361.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1567, allocations: 8 kB / 361.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1568, allocations: 334 kB / 362 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.1574, allocations: 373 kB / 362.4 MB, free: 1.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.1582, allocations: 0.5254 MB / 362.9 MB, free: 420 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.1589, allocations: 449.2 kB / 363.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1589, allocations: 4 kB / 363.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001655/0.1606, allocations: 1.01 MB / 364.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.1606, allocations: 11.95 kB / 364.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1606, allocations: 4 kB / 364.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1607, allocations: 12 kB / 364.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.1614, allocations: 195.7 kB / 364.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.1615, allocations: 8 kB / 364.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.162, allocations: 91.23 kB / 364.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.1621, allocations: 24 kB / 364.7 MB, free: 14.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008426/0.1629, allocations: 0.5294 MB / 365.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.1631, allocations: 91.25 kB / 365.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1644, allocations: 0.7018 MB / 366 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1644, allocations: 4 kB / 366 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.1644, allocations: 7.938 kB / 366 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.1644, allocations: 3.984 kB / 366 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.1673, allocations: 1.668 MB / 367.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1673, allocations: 96 / 367.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.1678, allocations: 107.9 kB / 367.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.1682, allocations: 148.7 kB / 368 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.1682, allocations: 15.98 kB / 368 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.1711, allocations: 2.661 MB / 370.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1711, allocations: 4.031 kB / 370.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.1733, allocations: 1.557 MB / 372.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.1737, allocations: 195.8 kB / 372.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.1738, allocations: 23.98 kB / 372.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.1744, allocations: 63.94 kB / 372.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1745, allocations: 59.81 kB / 372.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.1746, allocations: 19.98 kB / 372.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009906/0.1756, allocations: 0.7215 MB / 373.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1756, allocations: 0 / 373.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001068/0.1767, allocations: 354.5 kB / 373.6 MB, free: 5.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.1769, allocations: 135.2 kB / 373.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1783, allocations: 0.7995 MB / 374.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1783, allocations: 0 / 374.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.1794, allocations: 0.5987 MB / 375.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.1803, allocations: 155.2 kB / 375.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.1849, allocations: 3.331 MB / 378.6 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1864/0.3712, allocations: 1.521 MB / 380.2 MB, free: 50.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3723, allocations: 233.4 kB / 380.4 MB, free: 50.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.3725, allocations: 59.72 kB / 380.4 MB, free: 50.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3725, allocations: 1.781 kB / 380.4 MB, free: 50.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02621/0.3987, allocations: 10.65 MB / 391.1 MB, free: 47.84 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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