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.000968/0.000968, allocations: 91.02 kB / 17.31 MB, free: 5.59 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.00106/0.00106, allocations: 181.5 kB / 18.21 MB, free: 5.191 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.128/1.128, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 4.531 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07028/0.07049, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007763/0.07828, allocations: 9.241 MB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.08331, allocations: 3.276 MB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.08445, allocations: 63.81 kB / 365.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.08611, allocations: 0.7001 MB / 365.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.0892, allocations: 1.392 MB / 367.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.0909, allocations: 1.001 MB / 368.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1328/0.2237, allocations: 9.048 MB / 377.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0223/0.2461, allocations: 18.96 MB / 396.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.2503, allocations: 3.588 MB / 399.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/0.2559, allocations: 4.718 MB / 404.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.2573, allocations: 0.582 MB / 405.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.2595, allocations: 0.82 MB / 405.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.2608, allocations: 1.897 MB / 407.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003937/0.2647, allocations: 4.343 MB / 412.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.2756, allocations: 15.84 MB / 428 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2756, allocations: 0 / 428 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2756, allocations: 0 / 428 MB, free: 6.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.2758, allocations: 4 kB / 428 MB, free: 6.523 MB / 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.02317/0.299, allocations: 10.77 MB / 438.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2991, allocations: 12.03 kB / 438.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04172/0.3408, allocations: 8.486 MB / 447.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.3511, allocations: 5.947 MB / 453.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/0.3517, allocations: 0.665 MB / 453.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002659/0.3543, allocations: 0.8691 MB / 454.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/0.3839, allocations: 15.98 MB / 470.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/0.3842, allocations: 7.984 kB / 470.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/0.3862, allocations: 369.9 kB / 471.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00046/0.3866, allocations: 0.5544 MB / 471.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/0.4113, allocations: 15.72 MB / 487.3 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0617/0.473, allocations: 48.45 MB / 0.5232 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2782/0.7513, allocations: 19.32 MB / 0.5421 GB, free: 124.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004489/0.7558, allocations: 3.585 MB / 0.5456 GB, free: 123.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.7562, allocations: 181.7 kB / 0.5458 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.7562, allocations: 84.64 kB / 0.5459 GB, free: 123 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.22e-06/0.7562, allocations: 6.047 kB / 0.5459 GB, free: 123 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01911/0.7754, allocations: 11.6 MB / 0.5572 GB, free: 119.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.7754, allocations: 124.5 kB / 0.5573 GB, free: 119.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.7793, allocations: 3.839 MB / 0.5611 GB, free: 117.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.7796, allocations: 105.5 kB / 0.5612 GB, free: 117.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.7808, allocations: 3.891 MB / 0.565 GB, free: 114.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007547/0.7816, allocations: 1.613 MB / 0.5665 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.7822, allocations: 0.5756 MB / 0.5671 GB, free: 113.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.899e-05/0.7822, allocations: 301.1 kB / 0.5674 GB, free: 113.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.7858, allocations: 3.688 MB / 0.571 GB, free: 111.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.7901, allocations: 6.522 MB / 0.5774 GB, free: 106.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008141/0.7982, allocations: 10.82 MB / 0.5879 GB, free: 99.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.7983, allocations: 27.5 kB / 0.5879 GB, free: 99.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01341/0.8117, allocations: 11.94 MB / 0.5996 GB, free: 88.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.8118, allocations: 44 kB / 0.5997 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/0.8118, allocations: 92 kB / 0.5997 GB, free: 88.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/0.8156, allocations: 1.609 MB / 0.6013 GB, free: 87.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.8199, allocations: 1.665 MB / 0.6029 GB, free: 85.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.8325, allocations: 16.22 MB / 0.6188 GB, free: 68.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/0.8361, allocations: 0.9483 MB / 0.6197 GB, free: 67.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/0.8366, allocations: 364 kB / 0.6201 GB, free: 67.12 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.003691/0.8403, allocations: 3.758 MB / 0.6237 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.8408, allocations: 391.1 kB / 0.6241 GB, free: 62.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.8521, allocations: 8.569 MB / 0.6325 GB, free: 54.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.8521, allocations: 52 kB / 0.6325 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/0.8521, allocations: 12 kB / 0.6325 GB, free: 54.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.8522, allocations: 23.91 kB / 0.6325 GB, free: 54.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.8719, allocations: 16.94 MB / 0.6491 GB, free: 37.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.8719, allocations: 4.25 kB / 0.6491 GB, free: 37.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002733/0.8747, allocations: 0.8581 MB / 0.6499 GB, free: 36.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/0.8784, allocations: 1.507 MB / 0.6514 GB, free: 34.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.8787, allocations: 108 kB / 0.6515 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.8915, allocations: 16.01 MB / 0.6671 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8915, allocations: 4 kB / 0.6671 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.9053, allocations: 12.22 MB / 0.6791 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/0.907, allocations: 1.116 MB / 0.6802 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006468/0.9076, allocations: 87.98 kB / 0.6802 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.9099, allocations: 311.7 kB / 0.6805 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005618/0.9105, allocations: 311.6 kB / 0.6808 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/0.9108, allocations: 144 kB / 0.681 GB, free: 3.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003193/0.914, allocations: 2.578 MB / 0.6835 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.914, allocations: 0 / 0.6835 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005615/0.9196, allocations: 2.371 MB / 0.6858 GB, free: 14.54 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.0005249/0.9201, allocations: 263 kB / 0.6861 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01253/0.9327, allocations: 9.361 MB / 0.6952 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9327, allocations: 0.9375 kB / 0.6952 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005992/0.9387, allocations: 4.473 MB / 0.6996 GB, free: 276 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1461/1.085, allocations: 0.6924 MB / 0.7002 GB, free: 135.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.109, allocations: 20.76 MB / 0.7205 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/1.113, allocations: 5.934 MB / 0.7263 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.115, allocations: 431.1 kB / 0.7267 GB, free: 125.4 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/1.115, allocations: 0 / 0.7267 GB, free: 125.4 MB / 462.1 MB Notification: Performance of Templates: time 0.5696/1.684, allocations: 415.3 MB / 1.132 GB, free: 102.4 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