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.001478/0.001478, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001611/0.001611, allocations: 192 kB / 19.29 MB, free: 3.715 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.359/1.359, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001351/0.001351, allocations: 48.41 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08468, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005751/0.09047, allocations: 4.617 MB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.09327, allocations: 1.737 MB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.09371, allocations: 23.88 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.09436, allocations: 258.3 kB / 335.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.09596, allocations: 0.688 MB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.09648, allocations: 231.4 kB / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.09854, allocations: 1.891 MB / 338.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.09984, allocations: 1.249 MB / 339.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.1008, allocations: 0.7904 MB / 340.2 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.1019, allocations: 0.9769 MB / 341.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.1021, allocations: 188 kB / 341.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.1027, allocations: 303.8 kB / 341.7 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.1031, allocations: 0.5452 MB / 342.2 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008706/0.104, allocations: 0.8905 MB / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.1061, allocations: 2.563 MB / 345.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1061, allocations: 0 / 345.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1061, allocations: 0 / 345.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1061, allocations: 0 / 345.7 MB, free: 2.707 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.004221/0.1104, allocations: 2.172 MB / 347.8 MB, free: 492 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1104, allocations: 8.031 kB / 347.8 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.1122, allocations: 378.6 kB / 348.2 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.114, allocations: 1.048 MB / 349.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.1141, allocations: 103 kB / 349.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.1143, allocations: 136.1 kB / 349.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.1171, allocations: 1.886 MB / 351.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1171, allocations: 0 / 351.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1172, allocations: 56 kB / 351.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.1173, allocations: 46 kB / 351.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.12, allocations: 1.691 MB / 353.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008374/0.1284, allocations: 5.505 MB / 358.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.1312, allocations: 2.914 MB / 361.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.1319, allocations: 0.4953 MB / 362.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/0.1343, allocations: 1.533 MB / 363.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1343, allocations: 38.56 kB / 363.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.1343, allocations: 4 kB / 363.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003039/0.1374, allocations: 1.407 MB / 365.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1374, allocations: 88.98 kB / 365.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1387, allocations: 1.028 MB / 366.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.1387, allocations: 37.7 kB / 366.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.1391, allocations: 0.6774 MB / 366.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1393, allocations: 189.3 kB / 367.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1395, allocations: 126.2 kB / 367.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1396, allocations: 338.2 kB / 367.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.1402, allocations: 357 kB / 367.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.1408, allocations: 0.5132 MB / 368.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.1421, allocations: 0.875 MB / 369.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1421, allocations: 7.938 kB / 369.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00153/0.1436, allocations: 1.005 MB / 370.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1437, allocations: 8.562 kB / 370.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1437, allocations: 8.078 kB / 370.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1437, allocations: 11.94 kB / 370.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.1445, allocations: 187.8 kB / 370.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1445, allocations: 15.92 kB / 370.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.145, allocations: 83.33 kB / 370.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.1451, allocations: 28 kB / 370.6 MB, free: 8.633 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.0006311/0.1457, allocations: 0.5247 MB / 371.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.1459, allocations: 90.88 kB / 371.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.1471, allocations: 0.6902 MB / 371.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1471, allocations: 8 kB / 371.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1471, allocations: 4 kB / 371.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.1471, allocations: 7.922 kB / 371.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1495, allocations: 1.645 MB / 373.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1495, allocations: 3.984 kB / 373.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.15, allocations: 95.88 kB / 373.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.1504, allocations: 163.7 kB / 373.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.1505, allocations: 19.98 kB / 373.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.1535, allocations: 2.844 MB / 376.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1535, allocations: 8.094 kB / 376.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.1556, allocations: 1.466 MB / 378.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.1559, allocations: 188 kB / 378.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.156, allocations: 20 kB / 378.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.1566, allocations: 67.84 kB / 378.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1567, allocations: 51.92 kB / 378.5 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.1567, allocations: 16 kB / 378.5 MB, free: 468 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.1337/0.2904, allocations: 0.7308 MB / 379.2 MB, free: 52.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.61e-07/0.2905, allocations: 3.531 kB / 379.2 MB, free: 52.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001433/0.2919, allocations: 360.1 kB / 379.6 MB, free: 52.45 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.0003079/0.2922, allocations: 130.2 kB / 379.7 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.2937, allocations: 0.7764 MB / 380.5 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.2938, allocations: 3.188 kB / 380.5 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.295, allocations: 0.5856 MB / 381.1 MB, free: 52.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.2961, allocations: 176.1 kB / 381.3 MB, free: 52.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.3005, allocations: 2.765 MB / 384 MB, free: 51.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3017, allocations: 1.497 MB / 385.5 MB, free: 50.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006137/0.3023, allocations: 231.2 kB / 385.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3025, allocations: 58.56 kB / 385.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3025, allocations: 0 / 385.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01737/0.3199, allocations: 11.6 MB / 397.4 MB, free: 46.37 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches