Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 87.58 kB / 21.18 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.1e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01051/0.01054, allocations: 9.77 MB / 282.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007721/0.01826, allocations: 3.345 MB / 286.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.0198, allocations: 91.56 kB / 286.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005199/0.025, allocations: 4.111 MB / 290.3 MB, free: 132 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1249/0.1499, allocations: 1.537 MB / 291.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1517, allocations: 1.039 MB / 292.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008416/0.1602, allocations: 9.644 MB / 302.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01434/0.1745, allocations: 12.86 MB / 315.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.1876, allocations: 7.558 MB / 322.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008796/0.1964, allocations: 6.068 MB / 329 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.1994, allocations: 1.395 MB / 330.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.2036, allocations: 1.652 MB / 332 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002522/0.2061, allocations: 3.019 MB / 335.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008523/0.2147, allocations: 3.722 MB / 338.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.226, allocations: 9.707 MB / 348.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2261, allocations: 0 / 348.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2261, allocations: 4 kB / 348.5 MB, free: 4.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003867/0.2264, allocations: 4 kB / 348.5 MB, free: 4.809 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.02722/0.2537, allocations: 13.27 MB / 361.8 MB, free: 7.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.2537, allocations: 16.03 kB / 361.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03574/0.2895, allocations: 10.03 MB / 371.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009273/0.2987, allocations: 5.464 MB / 377.3 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/0.2992, allocations: 0.6608 MB / 377.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/0.3015, allocations: 0.8718 MB / 378.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.3252, allocations: 8.565 MB / 387.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/0.3254, allocations: 14.77 kB / 387.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.3269, allocations: 371.9 kB / 387.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004448/0.3274, allocations: 0.5543 MB / 388.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.3411, allocations: 5.107 MB / 393.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0567/0.3978, allocations: 37.46 MB / 430.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2698/0.6676, allocations: 6.224 MB / 437.1 MB, free: 90.11 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.6704, allocations: 1.379 MB / 438.5 MB, free: 90.07 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.6707, allocations: 147.8 kB / 438.6 MB, free: 90.06 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.6708, allocations: 89.2 kB / 438.7 MB, free: 90.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 6.191e-06/0.6708, allocations: 1.406 kB / 438.7 MB, free: 90.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01206/0.6828, allocations: 6.128 MB / 444.8 MB, free: 89.71 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.6829, allocations: 125.9 kB / 445 MB, free: 89.62 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/0.6878, allocations: 4.047 MB / 449 MB, free: 89.3 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003836/0.6882, allocations: 97.95 kB / 449.1 MB, free: 89.27 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00221/0.6904, allocations: 4.357 MB / 453.5 MB, free: 87.51 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.6915, allocations: 1.735 MB / 455.2 MB, free: 86.63 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/0.6934, allocations: 1.707 MB / 456.9 MB, free: 86.49 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.6934, allocations: 481.7 kB / 457.4 MB, free: 86.02 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.6954, allocations: 1.138 MB / 458.5 MB, free: 86 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.6986, allocations: 5.423 MB / 463.9 MB, free: 80.95 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/0.7043, allocations: 7.218 MB / 471.2 MB, free: 75.75 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.7044, allocations: 25.88 kB / 471.2 MB, free: 75.75 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009856/0.7143, allocations: 6.949 MB / 478.1 MB, free: 74.77 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.7143, allocations: 46.78 kB / 478.2 MB, free: 74.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.7145, allocations: 89.84 kB / 478.3 MB, free: 74.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.7178, allocations: 1.541 MB / 479.8 MB, free: 74.58 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.7214, allocations: 1.675 MB / 481.5 MB, free: 74.08 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009275/0.7306, allocations: 15.71 MB / 497.2 MB, free: 58.52 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/0.7355, allocations: 0.9683 MB / 498.2 MB, free: 57.64 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009275/0.7365, allocations: 367.4 kB / 498.5 MB, free: 57.29 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.002903/0.7394, allocations: 0.6374 MB / 499.2 MB, free: 56.77 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/0.7401, allocations: 0.5435 MB / 499.7 MB, free: 56.22 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006766/0.7469, allocations: 4.859 MB / 0.4927 GB, free: 52.38 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.7469, allocations: 52 kB / 0.4928 GB, free: 52.32 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.766e-05/0.747, allocations: 12 kB / 0.4928 GB, free: 52.31 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.747, allocations: 27.09 kB / 0.4928 GB, free: 52.31 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.7643, allocations: 12.36 MB / 0.5049 GB, free: 40.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7643, allocations: 4 kB / 0.5049 GB, free: 40.77 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.766, allocations: 0.8659 MB / 0.5057 GB, free: 39.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/0.7691, allocations: 1.423 MB / 0.5071 GB, free: 38.45 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/0.7694, allocations: 108.7 kB / 0.5072 GB, free: 38.35 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.7777, allocations: 15.52 MB / 0.5224 GB, free: 22.12 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.7777, allocations: 4 kB / 0.5224 GB, free: 22.11 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/0.7859, allocations: 5.872 MB / 0.5281 GB, free: 16.02 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.7875, allocations: 0.9489 MB / 0.5291 GB, free: 15.06 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.7878, allocations: 84 kB / 0.5291 GB, free: 14.98 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.789, allocations: 306.7 kB / 0.5294 GB, free: 14.68 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/0.7895, allocations: 347.3 kB / 0.5298 GB, free: 14.34 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.7897, allocations: 140 kB / 0.5299 GB, free: 14.2 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001848/0.7915, allocations: 1.592 MB / 0.5314 GB, free: 12.62 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7915, allocations: 0 / 0.5314 GB, free: 12.62 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005468/0.797, allocations: 2.411 MB / 0.5338 GB, free: 10.2 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.0005184/0.7975, allocations: 266.5 kB / 0.5341 GB, free: 9.93 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00715/0.8046, allocations: 5.794 MB / 0.5397 GB, free: 4 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8046, allocations: 1 kB / 0.5397 GB, free: 4 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.8077, allocations: 3.174 MB / 0.5428 GB, free: 0.707 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.8101, allocations: 0.7462 MB / 0.5435 GB, free: 15.98 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.8301, allocations: 13.52 MB / 0.5567 GB, free: 2.34 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.8321, allocations: 2.523 MB / 0.5592 GB, free: 15.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004852/0.837, allocations: 2.809 MB / 0.5619 GB, free: 12.97 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/0.8379, allocations: 400.4 kB / 0.5623 GB, free: 12.58 MB / 410.8 MB Notification: Performance of SimCode: time 1.994e-06/0.8379, allocations: 0 / 0.5623 GB, free: 12.58 MB / 410.8 MB Notification: Performance of Templates: time 0.2611/1.099, allocations: 62.32 MB / 0.6232 GB, free: 91.22 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 5.397694606799632]