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.001042/0.001042, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 61.72 kB / 307 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09549, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01238/0.1079, allocations: 10 MB / 367.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.1158, allocations: 3.384 MB / 370.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.118, allocations: 75.75 kB / 370.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1755/0.2935, allocations: 3.824 MB / 374.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.2978, allocations: 1.482 MB / 376.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.3003, allocations: 1.059 MB / 377.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008959/0.3092, allocations: 9.19 MB / 386.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03032/0.3396, allocations: 20.53 MB / 407 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008295/0.3479, allocations: 5.047 MB / 412.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009855/0.3578, allocations: 6.13 MB / 418.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003447/0.3613, allocations: 1.398 MB / 419.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005654/0.3669, allocations: 1.658 MB / 421.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.3717, allocations: 2.916 MB / 424.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.3824, allocations: 5.457 MB / 429.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.4033, allocations: 18.76 MB / 448.4 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4034, allocations: 0 / 448.4 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4034, allocations: 0 / 448.4 MB, free: 8 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004442/0.4038, allocations: 4 kB / 448.4 MB, free: 4 kB / 350.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.03491/0.4388, allocations: 12.32 MB / 460.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4388, allocations: 8.031 kB / 460.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05/0.4888, allocations: 8.506 MB / 469.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.5008, allocations: 5.754 MB / 475 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/0.5013, allocations: 0.6635 MB / 475.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/0.5046, allocations: 0.8658 MB / 476.5 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/0.5376, allocations: 15.98 MB / 492.5 MB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.5378, allocations: 19.77 kB / 492.5 MB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.5391, allocations: 372.4 kB / 492.9 MB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000484/0.5396, allocations: 0.5544 MB / 493.4 MB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5667, allocations: 15.72 MB / 0.4972 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3959/0.9626, allocations: 49.05 MB / 0.5451 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/0.9809, allocations: 19.31 MB / 0.564 GB, free: 95.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004458/0.9854, allocations: 3.585 MB / 0.5675 GB, free: 95.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.9858, allocations: 266 kB / 0.5677 GB, free: 95.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.9858, allocations: 84.38 kB / 0.5678 GB, free: 95.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.051e-06/0.9858, allocations: 3.156 kB / 0.5678 GB, free: 95.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02065/1.006, allocations: 11.55 MB / 0.5791 GB, free: 91.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.007, allocations: 125.7 kB / 0.5792 GB, free: 91.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/1.011, allocations: 3.845 MB / 0.583 GB, free: 90.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004979/1.012, allocations: 105 kB / 0.5831 GB, free: 90.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.014, allocations: 3.898 MB / 0.5869 GB, free: 87.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.015, allocations: 1.604 MB / 0.5884 GB, free: 86.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.016, allocations: 1.468 MB / 0.5899 GB, free: 85.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/1.017, allocations: 305.1 kB / 0.5902 GB, free: 85.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004262/1.021, allocations: 3.692 MB / 0.5938 GB, free: 83.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00536/1.026, allocations: 6.525 MB / 0.6001 GB, free: 77.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.036, allocations: 10.82 MB / 0.6107 GB, free: 67.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.291e-05/1.036, allocations: 28 kB / 0.6107 GB, free: 67.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01794/1.054, allocations: 11.94 MB / 0.6224 GB, free: 55.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/1.054, allocations: 47.98 kB / 0.6224 GB, free: 55.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.055, allocations: 99.94 kB / 0.6225 GB, free: 55.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/1.059, allocations: 1.624 MB / 0.6241 GB, free: 53.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.065, allocations: 1.665 MB / 0.6258 GB, free: 52.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.08, allocations: 17.68 MB / 0.643 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006033/1.086, allocations: 0.9601 MB / 0.644 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008004/1.087, allocations: 363.1 kB / 0.6443 GB, free: 32.26 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.005568/1.092, allocations: 3.76 MB / 0.648 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007176/1.093, allocations: 395.1 kB / 0.6483 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.105, allocations: 8.569 MB / 0.6567 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.105, allocations: 52 kB / 0.6568 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/1.105, allocations: 12 kB / 0.6568 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/1.105, allocations: 31.89 kB / 0.6568 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.13, allocations: 16.95 MB / 0.6734 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.13, allocations: 4 kB / 0.6734 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/1.133, allocations: 0.8659 MB / 0.6742 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004398/1.137, allocations: 1.519 MB / 0.6757 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00039/1.138, allocations: 108 kB / 0.6758 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/1.157, allocations: 17.46 MB / 0.6928 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.157, allocations: 8.062 kB / 0.6928 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/1.177, allocations: 12.23 MB / 0.7048 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1793/1.356, allocations: 1.098 MB / 0.7059 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/1.358, allocations: 86.83 kB / 0.7059 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/1.361, allocations: 303.9 kB / 0.7062 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000899/1.362, allocations: 315.9 kB / 0.7065 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/1.362, allocations: 136.9 kB / 0.7067 GB, free: 143.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004443/1.367, allocations: 2.579 MB / 0.7092 GB, free: 143.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.367, allocations: 3.375 kB / 0.7092 GB, free: 143.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007939/1.375, allocations: 2.379 MB / 0.7115 GB, free: 143.6 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.0007157/1.376, allocations: 272.2 kB / 0.7118 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02673/1.402, allocations: 15.48 MB / 0.7269 GB, free: 141.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.402, allocations: 0 / 0.7269 GB, free: 141.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006564/1.409, allocations: 4.483 MB / 0.7313 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/1.413, allocations: 0.7334 MB / 0.732 GB, free: 139 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02848/1.441, allocations: 17 MB / 0.7486 GB, free: 130 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008668/1.45, allocations: 6.05 MB / 0.7545 GB, free: 125.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008216/1.458, allocations: 3.253 MB / 0.7577 GB, free: 123.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.46, allocations: 377.7 kB / 0.758 GB, free: 122.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/1.46, allocations: 0 / 0.758 GB, free: 122.9 MB / 478.1 MB Notification: Performance of Templates: time 0.09854/1.559, allocations: 68.19 MB / 0.8246 GB, free: 57.41 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