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.001285/0.001285, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002849, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001092/0.001092, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002552, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9611/0.9611, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08185/1.043, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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 1.373e-06/1.373e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.208e-05, allocations: 5.406 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007394/0.007416, allocations: 9.517 MB / 254 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.01403, allocations: 3.507 MB / 257.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.01515, allocations: 87.56 kB / 257.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004126/0.01927, allocations: 4.079 MB / 261.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.02214, allocations: 1.515 MB / 263.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.0235, allocations: 1.036 MB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007338/0.03084, allocations: 9.712 MB / 274 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1391/0.1699, allocations: 12.8 MB / 286.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.1812, allocations: 7.79 MB / 294.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007095/0.1883, allocations: 6.328 MB / 300.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003256/0.1916, allocations: 1.398 MB / 302.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.1954, allocations: 1.663 MB / 304 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.1975, allocations: 2.359 MB / 306.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.2017, allocations: 3.05 MB / 309.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009052/0.2108, allocations: 9.139 MB / 318.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.2108, allocations: 0.5312 kB / 318.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2108, allocations: 0 / 318.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004328/0.2113, allocations: 0.5625 kB / 318.5 MB, free: 12.36 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.02106/0.2323, allocations: 13.04 MB / 331.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2323, allocations: 8.031 kB / 331.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02243/0.2548, allocations: 7.989 MB / 339.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009282/0.2641, allocations: 2.961 MB / 342.5 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/0.2645, allocations: 0.6633 MB / 343.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.2673, allocations: 0.868 MB / 344 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.2881, allocations: 8.028 MB / 352.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.2884, allocations: 7 kB / 352.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.2901, allocations: 366.2 kB / 352.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.2905, allocations: 0.5582 MB / 353 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3018, allocations: 4.449 MB / 357.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05015/0.3519, allocations: 27.98 MB / 385.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.3586, allocations: 4.54 MB / 389.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.3599, allocations: 0.9811 MB / 390.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3602, allocations: 143.9 kB / 391.1 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.3603, allocations: 86.56 kB / 391.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 8.235e-06/0.3603, allocations: 0 / 391.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.008366/0.3686, allocations: 4.515 MB / 395.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.3687, allocations: 132.5 kB / 395.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.3714, allocations: 2.431 MB / 398.2 MB, free: 15.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.3717, allocations: 101.7 kB / 398.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.3733, allocations: 3.781 MB / 402.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.3748, allocations: 1.665 MB / 403.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.3762, allocations: 1.343 MB / 405.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.3763, allocations: 301.1 kB / 405.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.3778, allocations: 1.079 MB / 406.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.3802, allocations: 3.587 MB / 410.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/0.3847, allocations: 5.302 MB / 415.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.842e-05/0.3848, allocations: 24 kB / 415.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007894/0.3927, allocations: 5.216 MB / 420.6 MB, free: 7.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.3928, allocations: 44 kB / 420.7 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.3929, allocations: 92 kB / 420.8 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.3956, allocations: 1.393 MB / 422.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/0.3995, allocations: 1.715 MB / 423.9 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1512/0.5507, allocations: 10.93 MB / 434.8 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.5542, allocations: 0.7817 MB / 435.6 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000848/0.5551, allocations: 296.3 kB / 435.9 MB, free: 96.2 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.002334/0.5574, allocations: 0.5993 MB / 436.5 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/0.5581, allocations: 379 kB / 436.8 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.5638, allocations: 3.69 MB / 440.5 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/0.5638, allocations: 50.16 kB / 440.6 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-05/0.5639, allocations: 13.25 kB / 440.6 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.5639, allocations: 25.03 kB / 440.6 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.5762, allocations: 8.597 MB / 449.2 MB, free: 94.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5762, allocations: 3.562 kB / 449.2 MB, free: 94.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.5781, allocations: 0.8324 MB / 450 MB, free: 94.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.5795, allocations: 0.6255 MB / 450.7 MB, free: 94.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/0.5821, allocations: 1.28 MB / 451.9 MB, free: 94.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.5823, allocations: 98.42 kB / 452 MB, free: 94.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/0.5884, allocations: 10.69 MB / 462.7 MB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.5884, allocations: 7.75 kB / 462.7 MB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.594, allocations: 4.306 MB / 467 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/0.5947, allocations: 88.59 kB / 467.1 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5957, allocations: 120.9 kB / 467.3 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.5961, allocations: 327.7 kB / 467.6 MB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.5963, allocations: 100.9 kB / 467.7 MB, free: 86.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.5974, allocations: 1.042 MB / 468.7 MB, free: 85.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5974, allocations: 0 / 468.7 MB, free: 85.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004844/0.6022, allocations: 2.407 MB / 471.1 MB, free: 85.45 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.0004744/0.6027, allocations: 254.1 kB / 471.4 MB, free: 85.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.6076, allocations: 4.339 MB / 475.7 MB, free: 84.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001815/0.6078, allocations: 110.5 kB / 475.8 MB, free: 84.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6101, allocations: 2.381 MB / 478.2 MB, free: 83.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.6128, allocations: 1.086 MB / 479.3 MB, free: 83.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05276/0.6655, allocations: 13.85 MB / 493.1 MB, free: 71.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/0.6678, allocations: 1.839 MB / 495 MB, free: 70.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003359/0.6711, allocations: 0.7553 MB / 495.7 MB, free: 69.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.673, allocations: 0.878 MB / 496.6 MB, free: 68.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.673, allocations: 0 / 496.6 MB, free: 68.81 MB / 394.7 MB Notification: Performance of Templates: time 0.08044/0.7535, allocations: 69.86 MB / 0.5532 GB, free: 52 kB / 394.7 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 -ignoreHideResult -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: 4.810519879683852]