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.0008076/0.0008076, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001857, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007592/0.0007592, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009499/0.001709, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9687/0.9687, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08712/1.056, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.723e-06/1.723e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.003e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008961/0.008981, allocations: 9.517 MB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005625/0.01461, allocations: 3.503 MB / 258 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.01559, allocations: 87.56 kB / 258.1 MB, free: 484 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003872/0.01947, allocations: 4.071 MB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.02198, allocations: 1.523 MB / 263.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.02325, allocations: 1.036 MB / 264.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006548/0.0298, allocations: 9.704 MB / 274.5 MB, free: 76 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1362/0.1659, allocations: 12.79 MB / 287.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.1767, allocations: 7.789 MB / 295 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007323/0.184, allocations: 6.331 MB / 301.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.187, allocations: 1.396 MB / 302.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.1906, allocations: 1.659 MB / 304.4 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.1932, allocations: 2.365 MB / 306.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004995/0.1982, allocations: 3.048 MB / 309.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008522/0.2067, allocations: 9.142 MB / 319 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.2067, allocations: 0 / 319 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2067, allocations: 0 / 319 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003977/0.2071, allocations: 0 / 319 MB, free: 11.43 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.01839/0.2255, allocations: 13.04 MB / 332 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2255, allocations: 8.625 kB / 332 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/0.2484, allocations: 7.998 MB / 340 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.2552, allocations: 2.952 MB / 343 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.2556, allocations: 0.6638 MB / 343.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/0.2571, allocations: 0.8728 MB / 344.5 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.2678, allocations: 8.025 MB / 352.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.2679, allocations: 7.984 kB / 352.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.2685, allocations: 364.8 kB / 352.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/0.2689, allocations: 0.5543 MB / 353.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007493/0.2764, allocations: 4.445 MB / 357.9 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.3116, allocations: 27.99 MB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/0.3173, allocations: 4.541 MB / 390.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3184, allocations: 0.9802 MB / 391.4 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.3186, allocations: 143.9 kB / 391.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.3187, allocations: 86.56 kB / 391.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 6.001e-06/0.3187, allocations: 0 / 391.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.007923/0.3266, allocations: 4.516 MB / 396.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.3266, allocations: 129.1 kB / 396.3 MB, free: 468 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.3287, allocations: 2.431 MB / 398.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.3289, allocations: 101.7 kB / 398.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.3307, allocations: 3.788 MB / 402.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00091/0.3316, allocations: 1.669 MB / 404.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.3329, allocations: 1.332 MB / 405.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.333, allocations: 305.1 kB / 405.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.3342, allocations: 1.079 MB / 407 MB, free: 6.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.3366, allocations: 3.581 MB / 410.6 MB, free: 1.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.3409, allocations: 5.307 MB / 415.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-05/0.3409, allocations: 24 kB / 415.9 MB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.006718/0.3476, allocations: 5.215 MB / 421.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.3477, allocations: 44 kB / 421.1 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.967e-05/0.3478, allocations: 92 kB / 421.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.3505, allocations: 1.393 MB / 422.6 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.3538, allocations: 1.712 MB / 424.3 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1379/0.4917, allocations: 10.93 MB / 435.3 MB, free: 95.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/0.4952, allocations: 0.7798 MB / 436 MB, free: 95.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/0.4961, allocations: 299.7 kB / 436.3 MB, free: 95.45 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.002402/0.4985, allocations: 0.5981 MB / 436.9 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006989/0.4992, allocations: 378.1 kB / 437.3 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.5051, allocations: 3.698 MB / 441 MB, free: 95.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.5051, allocations: 49.53 kB / 441.1 MB, free: 95.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-05/0.5051, allocations: 15.27 kB / 441.1 MB, free: 95.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.5052, allocations: 24.89 kB / 441.1 MB, free: 95.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5181, allocations: 8.597 MB / 449.7 MB, free: 94.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.5181, allocations: 2.469 kB / 449.7 MB, free: 94.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.5201, allocations: 0.8306 MB / 450.5 MB, free: 94.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.5215, allocations: 0.6265 MB / 451.1 MB, free: 93.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.524, allocations: 1.275 MB / 452.4 MB, free: 93.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.5242, allocations: 94.77 kB / 452.5 MB, free: 93.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006036/0.5303, allocations: 10.68 MB / 463.2 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5303, allocations: 6.969 kB / 463.2 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.5358, allocations: 4.31 MB / 467.5 MB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/0.5364, allocations: 88.34 kB / 467.6 MB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5376, allocations: 129.6 kB / 467.7 MB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/0.538, allocations: 325.7 kB / 468 MB, free: 85.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.5382, allocations: 95.59 kB / 468.1 MB, free: 85.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.5398, allocations: 1.034 MB / 469.2 MB, free: 85.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5398, allocations: 0 / 469.2 MB, free: 85.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005492/0.5452, allocations: 2.413 MB / 471.6 MB, free: 84.69 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.0005049/0.5458, allocations: 256.2 kB / 471.8 MB, free: 84.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005448/0.5512, allocations: 4.34 MB / 476.2 MB, free: 83.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002096/0.5514, allocations: 113.7 kB / 476.3 MB, free: 83.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.5538, allocations: 2.38 MB / 478.7 MB, free: 82.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.5562, allocations: 1.094 MB / 479.8 MB, free: 82.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04574/0.602, allocations: 13.84 MB / 493.6 MB, free: 70.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.6038, allocations: 1.842 MB / 495.4 MB, free: 69.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002313/0.6061, allocations: 0.7599 MB / 496.2 MB, free: 68.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/0.6076, allocations: 0.8811 MB / 497.1 MB, free: 67.94 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/0.6076, allocations: 0 / 497.1 MB, free: 67.94 MB / 394.7 MB Notification: Performance of Templates: time 0.1089/0.7165, allocations: 69.85 MB / 0.5536 GB, free: 15.02 MB / 410.7 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 -ignoreHideResult -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.6494288286194205]