Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001343/0.001343, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009757, allocations: 47.61 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09389, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01142/0.1054, allocations: 9.86 MB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006292/0.1117, allocations: 3.322 MB / 363.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.1132, allocations: 67.75 kB / 363.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007887/0.1211, allocations: 3.628 MB / 367 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.1255, allocations: 1.401 MB / 368.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.1281, allocations: 1.003 MB / 369.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1901/0.3182, allocations: 9.057 MB / 378.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02135/0.3396, allocations: 17.29 MB / 395.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/0.3519, allocations: 5.076 MB / 400.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009557/0.3615, allocations: 5.921 MB / 406.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.3638, allocations: 1.031 MB / 407.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.3676, allocations: 1.263 MB / 409 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.3698, allocations: 2.517 MB / 411.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007771/0.3776, allocations: 5.055 MB / 416.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3919, allocations: 16.29 MB / 432.9 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3919, allocations: 4 kB / 432.9 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.392, allocations: 0 / 432.9 MB, free: 468 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004049/0.3924, allocations: 0 / 432.9 MB, free: 468 kB / 334.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.03343/0.4258, allocations: 12.3 MB / 445.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4259, allocations: 12.03 kB / 445.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04771/0.4736, allocations: 8.461 MB / 453.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.4862, allocations: 5.749 MB / 459.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007202/0.487, allocations: 0.6643 MB / 460.1 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00372/0.4907, allocations: 0.8653 MB / 460.9 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/0.5297, allocations: 15.99 MB / 476.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/0.5301, allocations: 11.89 kB / 476.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/0.5331, allocations: 371.4 kB / 477.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006266/0.5337, allocations: 0.5574 MB / 477.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03107/0.5648, allocations: 15.72 MB / 493.6 MB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0826/0.6474, allocations: 48.25 MB / 0.5291 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2987/0.9462, allocations: 19.32 MB / 0.548 GB, free: 118.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004863/0.9511, allocations: 3.584 MB / 0.5515 GB, free: 117.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.9515, allocations: 185 kB / 0.5516 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.9515, allocations: 91.94 kB / 0.5517 GB, free: 117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.921e-06/0.9515, allocations: 0 / 0.5517 GB, free: 117 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02007/0.9716, allocations: 11.51 MB / 0.563 GB, free: 113.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.9717, allocations: 126.8 kB / 0.5631 GB, free: 113.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/0.9765, allocations: 3.838 MB / 0.5669 GB, free: 111.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006329/0.9772, allocations: 101.4 kB / 0.5669 GB, free: 111.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.9786, allocations: 3.897 MB / 0.5708 GB, free: 108.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.9797, allocations: 1.609 MB / 0.5723 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.9814, allocations: 1.469 MB / 0.5738 GB, free: 107 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.9814, allocations: 309 kB / 0.5741 GB, free: 106.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/0.9856, allocations: 3.685 MB / 0.5777 GB, free: 105.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/0.9908, allocations: 6.511 MB / 0.584 GB, free: 100.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009881/1.001, allocations: 10.83 MB / 0.5946 GB, free: 92.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.238e-05/1.001, allocations: 28 kB / 0.5946 GB, free: 92.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01651/1.017, allocations: 11.95 MB / 0.6063 GB, free: 80.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/1.017, allocations: 44 kB / 0.6063 GB, free: 80.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.153e-05/1.018, allocations: 92 kB / 0.6064 GB, free: 80.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004186/1.022, allocations: 1.61 MB / 0.608 GB, free: 78.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005119/1.027, allocations: 1.669 MB / 0.6096 GB, free: 77.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/1.041, allocations: 16.09 MB / 0.6253 GB, free: 60.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/1.046, allocations: 0.9562 MB / 0.6263 GB, free: 59.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008205/1.046, allocations: 356 kB / 0.6266 GB, free: 58.98 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.004682/1.051, allocations: 3.758 MB / 0.6303 GB, free: 55.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006322/1.052, allocations: 395.1 kB / 0.6306 GB, free: 54.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.064, allocations: 8.565 MB / 0.639 GB, free: 46.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.064, allocations: 52 kB / 0.6391 GB, free: 46.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/1.064, allocations: 12 kB / 0.6391 GB, free: 46.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/1.064, allocations: 27.89 kB / 0.6391 GB, free: 46.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.087, allocations: 16.92 MB / 0.6556 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.087, allocations: 4 kB / 0.6556 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.09, allocations: 0.862 MB / 0.6565 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004313/1.094, allocations: 1.5 MB / 0.6579 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/1.095, allocations: 104 kB / 0.658 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.109, allocations: 15.88 MB / 0.6735 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.109, allocations: 8 kB / 0.6736 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.125, allocations: 12.22 MB / 0.6855 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.127, allocations: 1.104 MB / 0.6866 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006688/1.128, allocations: 87.98 kB / 0.6867 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.13, allocations: 299.6 kB / 0.6869 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/1.131, allocations: 323.6 kB / 0.6872 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/1.131, allocations: 135.9 kB / 0.6874 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003699/1.135, allocations: 2.578 MB / 0.6899 GB, free: 8.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 0 / 0.6899 GB, free: 8.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006643/1.142, allocations: 2.379 MB / 0.6922 GB, free: 6.559 MB / 462.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.0005916/1.142, allocations: 268.7 kB / 0.6925 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1808/1.323, allocations: 9.34 MB / 0.7016 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.323, allocations: 1.688 kB / 0.7016 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007688/1.331, allocations: 4.471 MB / 0.706 GB, free: 135.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/1.335, allocations: 0.7083 MB / 0.7067 GB, free: 135.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/1.369, allocations: 20.71 MB / 0.7269 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006663/1.375, allocations: 5.938 MB / 0.7327 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.378, allocations: 425.4 kB / 0.7331 GB, free: 123 MB / 462.1 MB Notification: Performance of SimCode: time 1.974e-06/1.378, allocations: 0 / 0.7331 GB, free: 123 MB / 462.1 MB Notification: Performance of Templates: time 0.7671/2.145, allocations: 416.4 MB / 1.14 GB, free: 90.83 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches