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.00127/0.00127, allocations: 117.9 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.5 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 62.7 kB / 306.5 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1039, allocations: 50.54 MB / 357 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01203/0.1159, allocations: 9.879 MB / 366.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.1229, allocations: 3.361 MB / 370.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.124, allocations: 67.81 kB / 370.4 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1753/0.2993, allocations: 3.618 MB / 374 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.3037, allocations: 1.365 MB / 375.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.306, allocations: 0.9931 MB / 376.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009094/0.3151, allocations: 9.236 MB / 385.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02849/0.3437, allocations: 23.47 MB / 409 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008343/0.352, allocations: 5.117 MB / 414.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01137/0.3635, allocations: 6.166 MB / 420.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00421/0.3677, allocations: 1.398 MB / 421.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006531/0.3743, allocations: 1.661 MB / 423.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005014/0.3793, allocations: 2.926 MB / 426.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009678/0.389, allocations: 5.459 MB / 431.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.4092, allocations: 18.76 MB / 450.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4092, allocations: 0 / 450.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4092, allocations: 4 kB / 450.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004294/0.4097, allocations: 0 / 450.5 MB, free: 13.07 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.03417/0.4439, allocations: 12.31 MB / 462.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4439, allocations: 11.88 kB / 462.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04799/0.4919, allocations: 8.331 MB / 471.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.5051, allocations: 5.773 MB / 476.9 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006421/0.5058, allocations: 0.6585 MB / 477.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.5088, allocations: 0.8762 MB / 478.5 MB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/0.5441, allocations: 16.02 MB / 494.5 MB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/0.5443, allocations: 7.906 kB / 494.5 MB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.5456, allocations: 373.3 kB / 494.9 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006034/0.5462, allocations: 0.5544 MB / 495.4 MB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02949/0.5757, allocations: 15.77 MB / 0.4992 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3832/0.959, allocations: 49.07 MB / 0.5471 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/0.9753, allocations: 19.34 MB / 0.566 GB, free: 97.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/0.9796, allocations: 3.589 MB / 0.5695 GB, free: 96.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.9802, allocations: 302.5 kB / 0.5698 GB, free: 96.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.444e-05/0.9803, allocations: 83.84 kB / 0.5699 GB, free: 95.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.253e-06/0.9803, allocations: 0 / 0.5699 GB, free: 95.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02044/1.001, allocations: 11.55 MB / 0.5812 GB, free: 91.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.001, allocations: 124.8 kB / 0.5813 GB, free: 91.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/1.006, allocations: 3.845 MB / 0.585 GB, free: 89.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007756/1.007, allocations: 96.42 kB / 0.5851 GB, free: 89.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.008, allocations: 3.897 MB / 0.5889 GB, free: 86.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.01, allocations: 1.613 MB / 0.5905 GB, free: 85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/1.012, allocations: 1.483 MB / 0.592 GB, free: 84.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/1.012, allocations: 301.1 kB / 0.5923 GB, free: 83.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.016, allocations: 3.689 MB / 0.5959 GB, free: 81.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/1.022, allocations: 6.539 MB / 0.6022 GB, free: 76.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.032, allocations: 10.84 MB / 0.6128 GB, free: 65.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.996e-05/1.033, allocations: 26.62 kB / 0.6129 GB, free: 65.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01763/1.05, allocations: 11.98 MB / 0.6246 GB, free: 53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/1.05, allocations: 44.31 kB / 0.6246 GB, free: 52.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.05, allocations: 96 kB / 0.6247 GB, free: 52.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004336/1.055, allocations: 1.622 MB / 0.6263 GB, free: 51.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.06, allocations: 1.677 MB / 0.6279 GB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.075, allocations: 17.65 MB / 0.6451 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/1.081, allocations: 0.9406 MB / 0.6461 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.082, allocations: 367.9 kB / 0.6464 GB, free: 29.75 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.005509/1.087, allocations: 3.754 MB / 0.6501 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/1.088, allocations: 387.1 kB / 0.6505 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.101, allocations: 8.572 MB / 0.6588 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/1.101, allocations: 52 kB / 0.6589 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/1.101, allocations: 12 kB / 0.6589 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-05/1.101, allocations: 23.91 kB / 0.6589 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/1.126, allocations: 16.98 MB / 0.6755 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.126, allocations: 4 kB / 0.6755 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/1.13, allocations: 0.8776 MB / 0.6764 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/1.135, allocations: 1.514 MB / 0.6778 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005844/1.135, allocations: 111.9 kB / 0.6779 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/1.157, allocations: 17.42 MB / 0.695 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.157, allocations: 0 / 0.695 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2162/1.373, allocations: 12.26 MB / 0.7069 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.376, allocations: 1.098 MB / 0.708 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008937/1.377, allocations: 90.5 kB / 0.7081 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.379, allocations: 304.4 kB / 0.7084 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008365/1.38, allocations: 319.7 kB / 0.7087 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003202/1.381, allocations: 145.1 kB / 0.7088 GB, free: 143.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003761/1.384, allocations: 2.574 MB / 0.7113 GB, free: 143.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.384, allocations: 0 / 0.7113 GB, free: 143.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007096/1.391, allocations: 2.379 MB / 0.7137 GB, free: 142.9 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.0007736/1.392, allocations: 275 kB / 0.7139 GB, free: 142.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02692/1.419, allocations: 15.49 MB / 0.729 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.419, allocations: 2.75 kB / 0.729 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006209/1.425, allocations: 4.492 MB / 0.7334 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.429, allocations: 0.739 MB / 0.7342 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.454, allocations: 20.65 MB / 0.7543 GB, free: 124.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/1.459, allocations: 6.044 MB / 0.7602 GB, free: 119.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006794/1.466, allocations: 3.252 MB / 0.7634 GB, free: 117.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.468, allocations: 403.1 kB / 0.7638 GB, free: 117.3 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/1.468, allocations: 0 / 0.7638 GB, free: 117.3 MB / 478.1 MB Notification: Performance of Templates: time 0.09366/1.561, allocations: 66.51 MB / 0.8287 GB, free: 53.22 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.1.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