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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.921/0.921, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.468e-05, allocations: 2.312 kB / 272.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01157/0.0116, allocations: 9.751 MB / 282.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.01712, allocations: 3.353 MB / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.01795, allocations: 79.62 kB / 286.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.02213, allocations: 4.111 MB / 290.2 MB, free: 28 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1095/0.1316, allocations: 1.54 MB / 291.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.133, allocations: 1.041 MB / 292.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.1402, allocations: 9.638 MB / 302.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.1525, allocations: 12.86 MB / 315.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.1596, allocations: 7.553 MB / 322.8 MB, free: 13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006455/0.1661, allocations: 6.25 MB / 329.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.1691, allocations: 1.4 MB / 330.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003823/0.1729, allocations: 1.651 MB / 332.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.1758, allocations: 3.018 MB / 335.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00549/0.1813, allocations: 3.719 MB / 338.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008864/0.1901, allocations: 9.722 MB / 348.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1902, allocations: 0 / 348.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1902, allocations: 0 / 348.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003673/0.1905, allocations: 0 / 348.6 MB, free: 4.5 MB / 298.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.02015/0.2107, allocations: 13.26 MB / 361.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2107, allocations: 11.98 kB / 361.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02607/0.2368, allocations: 10.04 MB / 371.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00835/0.2451, allocations: 5.454 MB / 377.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.2455, allocations: 0.663 MB / 378 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.2472, allocations: 0.8698 MB / 378.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.2626, allocations: 8.572 MB / 387.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.2627, allocations: 11.95 kB / 387.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006399/0.2634, allocations: 366.2 kB / 387.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003822/0.2637, allocations: 0.5582 MB / 388.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.2738, allocations: 5.1 MB / 393.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.3163, allocations: 37.46 MB / 431 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2192/0.5355, allocations: 6.226 MB / 437.2 MB, free: 90.24 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.5377, allocations: 1.382 MB / 438.6 MB, free: 90.19 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.538, allocations: 148.7 kB / 438.7 MB, free: 90.19 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.5381, allocations: 87.92 kB / 438.8 MB, free: 90.14 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 7.124e-06/0.5381, allocations: 0 / 438.8 MB, free: 90.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01063/0.5487, allocations: 6.118 MB / 444.9 MB, free: 89.84 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.5487, allocations: 128.2 kB / 445.1 MB, free: 89.74 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/0.5526, allocations: 4.05 MB / 449.1 MB, free: 89.42 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.5527, allocations: 100.3 kB / 449.2 MB, free: 89.39 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.5544, allocations: 4.358 MB / 453.6 MB, free: 87.63 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007883/0.5552, allocations: 1.735 MB / 455.3 MB, free: 86.75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/0.5567, allocations: 1.701 MB / 457 MB, free: 86.61 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.5568, allocations: 488.2 kB / 457.5 MB, free: 86.14 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.5583, allocations: 1.133 MB / 458.6 MB, free: 86.12 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.5611, allocations: 5.424 MB / 464 MB, free: 81.07 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/0.5666, allocations: 7.217 MB / 471.2 MB, free: 75.87 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.896e-05/0.5667, allocations: 27.22 kB / 471.3 MB, free: 75.87 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009703/0.5764, allocations: 6.955 MB / 478.2 MB, free: 74.82 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.5765, allocations: 50.78 kB / 478.3 MB, free: 74.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.23e-05/0.5765, allocations: 90.41 kB / 478.4 MB, free: 74.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/0.5797, allocations: 1.545 MB / 479.9 MB, free: 74.63 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.5827, allocations: 1.671 MB / 481.6 MB, free: 73.88 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008004/0.5907, allocations: 15.7 MB / 497.3 MB, free: 58.32 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/0.5941, allocations: 0.9615 MB / 498.2 MB, free: 57.44 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000532/0.5947, allocations: 372.3 kB / 498.6 MB, free: 57.09 MB / 378.8 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.001966/0.5966, allocations: 0.6389 MB / 499.2 MB, free: 56.56 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/0.5973, allocations: 0.5404 MB / 499.8 MB, free: 56.02 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006077/0.6034, allocations: 4.866 MB / 0.4928 GB, free: 52.17 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6034, allocations: 48 kB / 0.4929 GB, free: 52.12 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.6034, allocations: 12 kB / 0.4929 GB, free: 52.11 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.6034, allocations: 23.62 kB / 0.4929 GB, free: 52.11 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.618, allocations: 12.36 MB / 0.505 GB, free: 40.39 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.618, allocations: 4 kB / 0.505 GB, free: 40.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.6197, allocations: 0.8659 MB / 0.5058 GB, free: 39.52 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/0.6227, allocations: 1.432 MB / 0.5072 GB, free: 38.07 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.6229, allocations: 107.9 kB / 0.5073 GB, free: 37.96 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.6305, allocations: 15.51 MB / 0.5225 GB, free: 21.73 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6305, allocations: 8.188 kB / 0.5225 GB, free: 21.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007613/0.6382, allocations: 5.866 MB / 0.5282 GB, free: 15.64 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.6397, allocations: 0.9528 MB / 0.5291 GB, free: 14.68 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/0.6401, allocations: 88.03 kB / 0.5292 GB, free: 14.6 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6412, allocations: 303.5 kB / 0.5295 GB, free: 14.3 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/0.6417, allocations: 347.3 kB / 0.5298 GB, free: 13.96 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.6419, allocations: 144 kB / 0.53 GB, free: 13.82 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001745/0.6437, allocations: 1.586 MB / 0.5315 GB, free: 12.24 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6437, allocations: 4 kB / 0.5315 GB, free: 12.23 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00454/0.6482, allocations: 2.411 MB / 0.5339 GB, free: 9.816 MB / 378.8 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.0004608/0.6487, allocations: 266.2 kB / 0.5341 GB, free: 9.551 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006345/0.655, allocations: 5.803 MB / 0.5398 GB, free: 3.613 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.655, allocations: 0 / 0.5398 GB, free: 3.613 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002889/0.6579, allocations: 3.17 MB / 0.5429 GB, free: 332 kB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.6602, allocations: 0.7501 MB / 0.5436 GB, free: 15.61 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/0.6791, allocations: 13.51 MB / 0.5568 GB, free: 1.961 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.6819, allocations: 2.526 MB / 0.5593 GB, free: 15.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005869/0.6877, allocations: 2.809 MB / 0.562 GB, free: 12.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.6888, allocations: 404.4 kB / 0.5624 GB, free: 12.2 MB / 410.8 MB Notification: Performance of SimCode: time 1.683e-06/0.6888, allocations: 0 / 0.5624 GB, free: 12.2 MB / 410.8 MB Notification: Performance of Templates: time 0.2015/0.8903, allocations: 64.98 MB / 0.6259 GB, free: 87.94 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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","",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.921259162016213]