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.001095/0.001095, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009814/0.0009814, allocations: 160.5 kB / 24.55 MB, free: 16 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.9589/0.9589, allocations: 177 MB / 204.8 MB, free: 5.594 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.593e-06/1.593e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.719e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008444/0.008471, allocations: 9.755 MB / 282.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.01468, allocations: 3.353 MB / 286 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.01588, allocations: 87.56 kB / 286.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.02064, allocations: 4.111 MB / 290.2 MB, free: 64 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1268/0.1474, allocations: 1.533 MB / 291.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1491, allocations: 1.037 MB / 292.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007496/0.1566, allocations: 9.645 MB / 302.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/0.1712, allocations: 12.86 MB / 315.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.1815, allocations: 7.551 MB / 322.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/0.1889, allocations: 6.067 MB / 328.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001982/0.1909, allocations: 1.395 MB / 330.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.1936, allocations: 1.663 MB / 332 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.1955, allocations: 3.012 MB / 335 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004508/0.2, allocations: 3.719 MB / 338.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008329/0.2083, allocations: 9.709 MB / 348.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2083, allocations: 3.984 kB / 348.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2083, allocations: 4 kB / 348.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002195/0.2086, allocations: 0 / 348.4 MB, free: 4.738 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.01845/0.227, allocations: 13.27 MB / 361.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2271, allocations: 15.98 kB / 361.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02542/0.2525, allocations: 10.03 MB / 371.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008318/0.2608, allocations: 5.464 MB / 377.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.2612, allocations: 0.67 MB / 377.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.2626, allocations: 0.8658 MB / 378.7 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.2753, allocations: 8.563 MB / 387.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.2755, allocations: 7.953 kB / 387.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000635/0.2761, allocations: 369.5 kB / 387.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003734/0.2765, allocations: 0.5621 MB / 388.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009745/0.2862, allocations: 5.104 MB / 393.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.3333, allocations: 37.46 MB / 430.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.236/0.5693, allocations: 6.223 MB / 437 MB, free: 90.21 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5715, allocations: 1.381 MB / 438.4 MB, free: 90.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.5718, allocations: 143.1 kB / 438.5 MB, free: 90.15 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.5718, allocations: 89.16 kB / 438.6 MB, free: 90.11 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 6.402e-06/0.5718, allocations: 1.562 kB / 438.6 MB, free: 90.11 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01061/0.5824, allocations: 6.122 MB / 444.8 MB, free: 89.81 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5825, allocations: 131.1 kB / 444.9 MB, free: 89.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.5862, allocations: 4.045 MB / 448.9 MB, free: 89.4 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.5864, allocations: 99.05 kB / 449 MB, free: 89.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.5879, allocations: 4.362 MB / 453.4 MB, free: 87.61 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007118/0.5886, allocations: 1.736 MB / 455.1 MB, free: 86.72 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.5901, allocations: 1.698 MB / 456.8 MB, free: 86.59 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.5902, allocations: 485.7 kB / 457.3 MB, free: 86.11 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.5917, allocations: 1.135 MB / 458.4 MB, free: 86.1 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.5946, allocations: 5.423 MB / 463.9 MB, free: 81.05 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.5993, allocations: 7.221 MB / 471.1 MB, free: 75.84 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/0.5993, allocations: 27.41 kB / 471.1 MB, free: 75.84 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0084/0.6077, allocations: 6.955 MB / 478.1 MB, free: 74.85 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.6078, allocations: 44.38 kB / 478.1 MB, free: 74.85 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-05/0.6078, allocations: 91.25 kB / 478.2 MB, free: 74.85 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.6109, allocations: 1.535 MB / 479.7 MB, free: 74.66 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.6136, allocations: 1.683 MB / 481.4 MB, free: 73.97 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.6211, allocations: 15.7 MB / 497.1 MB, free: 58.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.6235, allocations: 0.9572 MB / 498.1 MB, free: 57.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.6238, allocations: 371 kB / 498.4 MB, free: 57.19 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.001567/0.6254, allocations: 0.6451 MB / 499.1 MB, free: 56.66 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.6259, allocations: 0.5365 MB / 499.6 MB, free: 56.12 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/0.6319, allocations: 4.857 MB / 0.4926 GB, free: 52.27 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.6319, allocations: 48 kB / 0.4927 GB, free: 52.23 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.6319, allocations: 13.97 kB / 0.4927 GB, free: 52.21 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.6319, allocations: 24.14 kB / 0.4927 GB, free: 52.21 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.6446, allocations: 12.36 MB / 0.5048 GB, free: 40.64 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6446, allocations: 4.25 kB / 0.5048 GB, free: 40.63 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.6463, allocations: 0.8698 MB / 0.5057 GB, free: 39.76 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.6489, allocations: 1.423 MB / 0.507 GB, free: 38.31 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.6491, allocations: 111.9 kB / 0.5072 GB, free: 38.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007208/0.6563, allocations: 15.51 MB / 0.5223 GB, free: 21.98 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6563, allocations: 3.938 kB / 0.5223 GB, free: 21.97 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00697/0.6633, allocations: 5.874 MB / 0.528 GB, free: 15.88 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.6644, allocations: 0.9567 MB / 0.529 GB, free: 14.92 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.6647, allocations: 84 kB / 0.5291 GB, free: 14.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6658, allocations: 299.6 kB / 0.5293 GB, free: 14.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.6662, allocations: 351.3 kB / 0.5297 GB, free: 14.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/0.6664, allocations: 140 kB / 0.5298 GB, free: 14.06 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001774/0.6682, allocations: 1.593 MB / 0.5314 GB, free: 12.47 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6682, allocations: 4 kB / 0.5314 GB, free: 12.47 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004086/0.6723, allocations: 2.407 MB / 0.5337 GB, free: 10.05 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.0004111/0.6727, allocations: 263.7 kB / 0.534 GB, free: 9.789 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.6783, allocations: 5.798 MB / 0.5396 GB, free: 3.855 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6783, allocations: 0 / 0.5396 GB, free: 3.855 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.681, allocations: 3.171 MB / 0.5427 GB, free: 0.5664 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.6829, allocations: 0.7535 MB / 0.5435 GB, free: 15.86 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.6992, allocations: 13.52 MB / 0.5567 GB, free: 2.203 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.7014, allocations: 2.523 MB / 0.5591 GB, free: 15.65 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00397/0.7053, allocations: 2.813 MB / 0.5619 GB, free: 12.83 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/0.7061, allocations: 396.4 kB / 0.5623 GB, free: 12.45 MB / 410.8 MB Notification: Performance of SimCode: time 1.112e-06/0.7061, allocations: 0 / 0.5623 GB, free: 12.45 MB / 410.8 MB Notification: Performance of Templates: time 0.207/0.9132, allocations: 62.3 MB / 0.6231 GB, free: 90.79 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: 5.320156479720026]