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.001557/0.001558, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001722/0.001722, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.363/1.363, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.002248/0.002248, allocations: 43.92 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00638/0.133, allocations: 4.621 MB / 332.1 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.1368, allocations: 1.706 MB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/0.1378, allocations: 19.88 kB / 333.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.1388, allocations: 230.9 kB / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.141, allocations: 0.634 MB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.1416, allocations: 207.6 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.1438, allocations: 1.884 MB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1452, allocations: 1.253 MB / 338 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.1462, allocations: 0.7903 MB / 338.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1473, allocations: 1.008 MB / 339.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.1476, allocations: 188 kB / 340 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.1482, allocations: 311.9 kB / 340.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.1487, allocations: 0.5297 MB / 340.8 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009595/0.1496, allocations: 0.906 MB / 341.7 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.1516, allocations: 2.089 MB / 343.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1516, allocations: 0 / 343.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1516, allocations: 0 / 343.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.235e-05/0.1516, allocations: 0 / 343.8 MB, free: 4.34 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.004781/0.1564, allocations: 2.172 MB / 346 MB, free: 2.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1565, allocations: 12.02 kB / 346 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.1582, allocations: 370.6 kB / 346.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.1599, allocations: 1.04 MB / 347.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.16, allocations: 99.05 kB / 347.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1602, allocations: 136.1 kB / 347.6 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.1633, allocations: 1.886 MB / 349.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.1633, allocations: 7.984 kB / 349.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1634, allocations: 52 kB / 349.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/0.1635, allocations: 46 kB / 349.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.1661, allocations: 1.684 MB / 351.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008287/0.1744, allocations: 5.583 MB / 356.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.1773, allocations: 2.919 MB / 359.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.1781, allocations: 0.4915 MB / 360.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/0.1803, allocations: 1.537 MB / 361.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1804, allocations: 38.56 kB / 361.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.1804, allocations: 0 / 361.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003057/0.1835, allocations: 1.415 MB / 363.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1835, allocations: 89.05 kB / 363.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.1849, allocations: 1.028 MB / 364.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.185, allocations: 41.7 kB / 364.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.1854, allocations: 0.6774 MB / 365.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1856, allocations: 189.3 kB / 365.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1858, allocations: 122.2 kB / 365.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1859, allocations: 334 kB / 365.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.1864, allocations: 357 kB / 366.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.1871, allocations: 0.517 MB / 366.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.1883, allocations: 0.875 MB / 367.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1883, allocations: 0 / 367.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001663/0.19, allocations: 1.001 MB / 368.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1901, allocations: 15.06 kB / 368.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1901, allocations: 8 kB / 368.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.1901, allocations: 15.92 kB / 368.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.1908, allocations: 184.1 kB / 368.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.1909, allocations: 15.92 kB / 368.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.1915, allocations: 83.33 kB / 368.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.1915, allocations: 28 kB / 368.8 MB, free: 10.21 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.0007845/0.1923, allocations: 0.5211 MB / 369.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.1925, allocations: 94.88 kB / 369.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.1937, allocations: 0.6824 MB / 370.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1937, allocations: 8 kB / 370.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1938, allocations: 4 kB / 370.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1938, allocations: 3.938 kB / 370.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.1962, allocations: 1.652 MB / 371.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.1962, allocations: 12.09 kB / 371.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.1967, allocations: 92.16 kB / 371.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.1972, allocations: 156.6 kB / 372 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.1972, allocations: 19.98 kB / 372 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.2002, allocations: 2.855 MB / 374.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2003, allocations: 0 / 374.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.2026, allocations: 1.476 MB / 376.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.203, allocations: 188 kB / 376.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2031, allocations: 19.98 kB / 376.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.2036, allocations: 59.88 kB / 376.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.2038, allocations: 51.92 kB / 376.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.2039, allocations: 19.98 kB / 376.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009199/0.2048, allocations: 0.7331 MB / 377.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 0 / 377.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001036/0.2058, allocations: 362.4 kB / 377.8 MB, free: 0.9336 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.0002782/0.2061, allocations: 135.1 kB / 377.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1358/0.342, allocations: 0.8375 MB / 378.8 MB, free: 53.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.342, allocations: 0 / 378.8 MB, free: 53.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3432, allocations: 0.579 MB / 379.3 MB, free: 53.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3444, allocations: 175.9 kB / 379.5 MB, free: 53.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.3489, allocations: 3.395 MB / 382.9 MB, free: 51.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/0.3499, allocations: 1.461 MB / 384.4 MB, free: 51.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3502, allocations: 71.66 kB / 384.4 MB, free: 51.13 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3502, allocations: 3.938 kB / 384.4 MB, free: 51.13 MB / 318.1 MB Notification: Performance of Templates: time 0.02783/0.3781, allocations: 19.64 MB / 404.1 MB, free: 39.91 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/jenkins1/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