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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 149.7 kB / 25.6 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9727/0.9727, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.615e-05, allocations: 6.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00717/0.007186, allocations: 9.389 MB / 278.6 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.01216, allocations: 3.257 MB / 281.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/0.013, allocations: 87.56 kB / 281.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003905/0.01691, allocations: 3.986 MB / 285.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.01934, allocations: 1.566 MB / 287.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.02083, allocations: 1.009 MB / 288.5 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006951/0.02778, allocations: 9.52 MB / 298 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.04411, allocations: 12.85 MB / 310.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009925/0.05403, allocations: 7.563 MB / 318.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00758/0.06161, allocations: 6.278 MB / 324.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002879/0.06449, allocations: 1.398 MB / 326.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.06808, allocations: 1.62 MB / 327.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.07055, allocations: 3.028 MB / 330.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006226/0.07677, allocations: 3.712 MB / 334.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1695/0.2463, allocations: 9.693 MB / 344.2 MB, free: 47.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2463, allocations: 0 / 344.2 MB, free: 47.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2463, allocations: 1.156 kB / 344.2 MB, free: 47.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004506/0.2467, allocations: 0 / 344.2 MB, free: 47.41 MB / 314.7 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.02176/0.2685, allocations: 12.13 MB / 356.3 MB, free: 44.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2685, allocations: 11.56 kB / 356.3 MB, free: 44.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0215/0.29, allocations: 7.372 MB / 363.7 MB, free: 43.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00868/0.2987, allocations: 4.943 MB / 368.6 MB, free: 40.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.2991, allocations: 0.6658 MB / 369.3 MB, free: 40.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/0.3022, allocations: 0.8715 MB / 370.2 MB, free: 39.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.3134, allocations: 7.807 MB / 378 MB, free: 33.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.3136, allocations: 11 kB / 378 MB, free: 33.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007096/0.3143, allocations: 366.2 kB / 378.3 MB, free: 33.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/0.3146, allocations: 0.5618 MB / 378.9 MB, free: 32.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.3217, allocations: 3.925 MB / 382.8 MB, free: 28.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.3637, allocations: 36.32 MB / 419.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/0.3706, allocations: 5.238 MB / 424.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.372, allocations: 1.16 MB / 425.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.3722, allocations: 115.9 kB / 425.6 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.3723, allocations: 89.22 kB / 425.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=468): time 5.942e-06/0.3723, allocations: 0 / 425.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=468): time 0.00976/0.3821, allocations: 5.421 MB / 431.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3821, allocations: 129.1 kB / 431.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.3864, allocations: 3.757 MB / 435 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005278/0.3869, allocations: 101.7 kB / 435.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/0.3901, allocations: 4.37 MB / 439.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.3917, allocations: 1.749 MB / 441.3 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.3935, allocations: 1.696 MB / 443 MB, free: 2.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3936, allocations: 487.8 kB / 443.4 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3949, allocations: 0.8573 MB / 444.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.3986, allocations: 5.194 MB / 449.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00585/0.4045, allocations: 6.758 MB / 456.2 MB, free: 2.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.097e-05/0.4046, allocations: 28 kB / 456.3 MB, free: 2.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009413/0.414, allocations: 6.266 MB / 462.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.414, allocations: 51 kB / 462.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.821e-05/0.4141, allocations: 92 kB / 462.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.4173, allocations: 1.457 MB / 464.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.4209, allocations: 1.508 MB / 465.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.4317, allocations: 15.27 MB / 480.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/0.436, allocations: 0.7832 MB / 481.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009495/0.437, allocations: 308 kB / 482 MB, free: 8.984 MB / 394.7 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.002482/0.4395, allocations: 0.6364 MB / 482.6 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008885/0.4404, allocations: 0.5404 MB / 483.2 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/0.4469, allocations: 4.421 MB / 487.6 MB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.4469, allocations: 48 kB / 487.6 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/0.4469, allocations: 12 kB / 487.7 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.447, allocations: 23.91 kB / 487.7 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1659/0.6128, allocations: 11.25 MB / 498.9 MB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.6128, allocations: 3.969 kB / 498.9 MB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.6146, allocations: 0.72 MB / 499.6 MB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003132/0.6178, allocations: 1.341 MB / 0.4892 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/0.6181, allocations: 98.86 kB / 0.4893 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/0.6266, allocations: 15.07 MB / 0.5041 GB, free: 97.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6266, allocations: 7.531 kB / 0.5041 GB, free: 97.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/0.6341, allocations: 5.129 MB / 0.5091 GB, free: 96.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.6357, allocations: 0.8422 MB / 0.5099 GB, free: 96.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/0.6361, allocations: 91.09 kB / 0.51 GB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6372, allocations: 135.4 kB / 0.5101 GB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/0.6377, allocations: 331.7 kB / 0.5104 GB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.6379, allocations: 104.5 kB / 0.5105 GB, free: 96.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001548/0.6395, allocations: 1.465 MB / 0.512 GB, free: 96.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6395, allocations: 0 / 0.512 GB, free: 96.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005662/0.6451, allocations: 2.409 MB / 0.5143 GB, free: 95.84 MB / 394.7 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.0006129/0.6457, allocations: 262.4 kB / 0.5146 GB, free: 95.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006272/0.652, allocations: 5.28 MB / 0.5197 GB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.652, allocations: 6.531 kB / 0.5197 GB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002873/0.6549, allocations: 2.937 MB / 0.5226 GB, free: 89.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.6574, allocations: 0.7467 MB / 0.5233 GB, free: 89.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.675, allocations: 13.42 MB / 0.5364 GB, free: 78.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/0.6769, allocations: 2.533 MB / 0.5389 GB, free: 76.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002429/0.6793, allocations: 0.7575 MB / 0.5396 GB, free: 75.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/0.6808, allocations: 0.9287 MB / 0.5405 GB, free: 74.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.6808, allocations: 4 kB / 0.5405 GB, free: 74.78 MB / 394.7 MB Notification: Performance of Templates: time 0.08377/0.7646, allocations: 67.98 MB / 0.6069 GB, free: 7.973 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.921032578218728]