Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.88 kB / 306.5 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.0966, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01122/0.1078, allocations: 9.884 MB / 366.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.1158, allocations: 3.357 MB / 370.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.1183, allocations: 67.81 kB / 370.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1678/0.2861, allocations: 3.62 MB / 373.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.2904, allocations: 1.352 MB / 375.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.293, allocations: 1.004 MB / 376.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009171/0.3021, allocations: 9.234 MB / 385.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03136/0.3335, allocations: 23.46 MB / 409 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008523/0.3421, allocations: 5.122 MB / 414.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008911/0.351, allocations: 6.171 MB / 420.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00312/0.3542, allocations: 1.398 MB / 421.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.359, allocations: 1.653 MB / 423.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.3621, allocations: 2.923 MB / 426.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008337/0.3704, allocations: 5.458 MB / 431.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.3877, allocations: 18.76 MB / 450.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3878, allocations: 0 / 450.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3878, allocations: 0 / 450.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004185/0.3882, allocations: 4 kB / 450.4 MB, free: 13.11 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03379/0.422, allocations: 12.31 MB / 462.8 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4221, allocations: 8.031 kB / 462.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04831/0.4704, allocations: 8.511 MB / 471.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4822, allocations: 5.755 MB / 477 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/0.4828, allocations: 0.6631 MB / 477.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/0.486, allocations: 0.8647 MB / 478.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03957/0.5256, allocations: 15.99 MB / 494.6 MB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/0.5259, allocations: 7.906 kB / 494.6 MB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/0.5278, allocations: 366 kB / 494.9 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004896/0.5283, allocations: 0.5583 MB / 495.5 MB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/0.5556, allocations: 15.71 MB / 0.4992 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.366/0.9216, allocations: 49.04 MB / 0.5471 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.9369, allocations: 19.32 MB / 0.566 GB, free: 97.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.9408, allocations: 3.587 MB / 0.5695 GB, free: 96.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/0.9413, allocations: 266.2 kB / 0.5697 GB, free: 96.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/0.9413, allocations: 86.97 kB / 0.5698 GB, free: 96.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.933e-06/0.9414, allocations: 3.875 kB / 0.5698 GB, free: 96.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01916/0.9605, allocations: 11.5 MB / 0.581 GB, free: 92.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.9606, allocations: 127.2 kB / 0.5812 GB, free: 91.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/0.9652, allocations: 3.847 MB / 0.5849 GB, free: 90.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000515/0.9658, allocations: 100.4 kB / 0.585 GB, free: 90.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.9674, allocations: 3.899 MB / 0.5888 GB, free: 86.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.9686, allocations: 1.604 MB / 0.5904 GB, free: 85.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.9704, allocations: 1.467 MB / 0.5918 GB, free: 84.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.9705, allocations: 305.1 kB / 0.5921 GB, free: 84.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/0.9752, allocations: 3.689 MB / 0.5957 GB, free: 82.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005944/0.9811, allocations: 6.529 MB / 0.6021 GB, free: 76.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.9912, allocations: 10.82 MB / 0.6127 GB, free: 65.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.483e-05/0.9914, allocations: 32 kB / 0.6127 GB, free: 65.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02018/1.012, allocations: 11.94 MB / 0.6243 GB, free: 53.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.012, allocations: 48 kB / 0.6244 GB, free: 53.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.012, allocations: 92 kB / 0.6245 GB, free: 53.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/1.016, allocations: 1.621 MB / 0.6261 GB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005906/1.022, allocations: 1.665 MB / 0.6277 GB, free: 49.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/1.038, allocations: 17.63 MB / 0.6449 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/1.043, allocations: 0.9562 MB / 0.6458 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.045, allocations: 360 kB / 0.6462 GB, free: 30 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006702/1.051, allocations: 3.754 MB / 0.6498 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.053, allocations: 395.1 kB / 0.6502 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.067, allocations: 8.565 MB / 0.6586 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/1.067, allocations: 51.98 kB / 0.6586 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.57e-05/1.067, allocations: 12 kB / 0.6586 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/1.067, allocations: 27.91 kB / 0.6587 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03186/1.099, allocations: 16.94 MB / 0.6752 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.099, allocations: 0 / 0.6752 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/1.102, allocations: 0.862 MB / 0.6761 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/1.107, allocations: 1.515 MB / 0.6775 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005804/1.108, allocations: 111.9 kB / 0.6776 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/1.127, allocations: 17.43 MB / 0.6947 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.127, allocations: 4 kB / 0.6947 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2124/1.34, allocations: 12.22 MB / 0.7066 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002673/1.342, allocations: 1.099 MB / 0.7077 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/1.343, allocations: 83.69 kB / 0.7078 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.345, allocations: 306.1 kB / 0.708 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000881/1.346, allocations: 322.7 kB / 0.7084 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/1.347, allocations: 135.8 kB / 0.7085 GB, free: 141.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003944/1.351, allocations: 2.573 MB / 0.711 GB, free: 141.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.351, allocations: 1.125 kB / 0.711 GB, free: 141.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007296/1.358, allocations: 2.379 MB / 0.7133 GB, free: 141.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007109/1.359, allocations: 271.2 kB / 0.7136 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03034/1.389, allocations: 15.48 MB / 0.7287 GB, free: 138.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.389, allocations: 2.625 kB / 0.7287 GB, free: 138.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008402/1.397, allocations: 4.471 MB / 0.7331 GB, free: 136.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/1.403, allocations: 0.7325 MB / 0.7338 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.435, allocations: 20.76 MB / 0.7541 GB, free: 124.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009341/1.444, allocations: 6.045 MB / 0.76 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008686/1.453, allocations: 3.256 MB / 0.7631 GB, free: 117.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.455, allocations: 373.5 kB / 0.7635 GB, free: 117.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/1.455, allocations: 0 / 0.7635 GB, free: 117.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1007/1.556, allocations: 68.17 MB / 0.8301 GB, free: 51.75 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches