Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002728, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002411, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9394/0.9394, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08603/1.025, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.899e-06/1.161e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01516/0.01517, allocations: 9.502 MB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006308/0.02148, allocations: 3.449 MB / 252.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.02251, allocations: 83.62 kB / 252.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.02722, allocations: 4.067 MB / 256.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.02962, allocations: 1.554 MB / 258.2 MB, free: 444 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.0309, allocations: 1.026 MB / 259.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006804/0.0377, allocations: 9.575 MB / 268.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1616/0.1993, allocations: 12.8 MB / 281.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.2099, allocations: 7.786 MB / 289.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005071/0.215, allocations: 6.331 MB / 295.7 MB, free: 17.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.2165, allocations: 1.396 MB / 297.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.2182, allocations: 1.638 MB / 298.8 MB, free: 17.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.2194, allocations: 2.366 MB / 301.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.2222, allocations: 3.048 MB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.2291, allocations: 9.13 MB / 313.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.2291, allocations: 8 kB / 313.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2291, allocations: 0 / 313.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.00036/0.2295, allocations: 3.125 kB / 313.3 MB, free: 5.535 MB / 282.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.01693/0.2464, allocations: 13.01 MB / 326.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2465, allocations: 12.03 kB / 326.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/0.2676, allocations: 8.028 MB / 334.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/0.2734, allocations: 2.933 MB / 337.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.2737, allocations: 0.6636 MB / 337.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.2748, allocations: 0.8661 MB / 338.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009996/0.2848, allocations: 7.996 MB / 346.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.2849, allocations: 7.953 kB / 346.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000632/0.2855, allocations: 364.7 kB / 347.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/0.2859, allocations: 0.5582 MB / 347.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006759/0.2926, allocations: 4.422 MB / 352.2 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.3223, allocations: 27.92 MB / 380.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005086/0.3274, allocations: 4.526 MB / 384.6 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.3286, allocations: 0.9744 MB / 385.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.3288, allocations: 127.9 kB / 385.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.3288, allocations: 86.31 kB / 385.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 5.771e-06/0.3288, allocations: 0 / 385.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.009711/0.3386, allocations: 4.502 MB / 390.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3386, allocations: 133.1 kB / 390.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.3409, allocations: 2.415 MB / 392.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.3411, allocations: 97.7 kB / 392.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.3432, allocations: 3.794 MB / 396.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.3443, allocations: 1.673 MB / 398.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.3459, allocations: 1.316 MB / 399.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.3459, allocations: 305.1 kB / 400 MB, free: 1.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/0.3493, allocations: 1.082 MB / 401.1 MB, free: 472 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.3521, allocations: 3.584 MB / 404.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.3574, allocations: 5.264 MB / 409.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-05/0.3574, allocations: 27.94 kB / 410 MB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008188/0.3656, allocations: 5.206 MB / 415.2 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.3656, allocations: 48 kB / 415.2 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.868e-05/0.3657, allocations: 92 kB / 415.3 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1284/0.4941, allocations: 1.379 MB / 416.7 MB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/0.4992, allocations: 1.696 MB / 418.4 MB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007999/0.5072, allocations: 10.94 MB / 429.3 MB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.511, allocations: 0.7946 MB / 430.1 MB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007213/0.5117, allocations: 291.3 kB / 430.4 MB, free: 84.36 MB / 378.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.002232/0.514, allocations: 0.6049 MB / 431 MB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.5145, allocations: 383.8 kB / 431.4 MB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/0.5195, allocations: 3.703 MB / 435.1 MB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5195, allocations: 49.81 kB / 435.1 MB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/0.5195, allocations: 10.97 kB / 435.1 MB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.5195, allocations: 27.77 kB / 435.2 MB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5298, allocations: 8.566 MB / 443.7 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.5298, allocations: 4.281 kB / 443.7 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.5316, allocations: 0.8168 MB / 444.6 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.5325, allocations: 0.6157 MB / 445.2 MB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.5349, allocations: 1.28 MB / 446.4 MB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.5351, allocations: 90.34 kB / 446.5 MB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/0.5407, allocations: 10.69 MB / 457.2 MB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.5407, allocations: 3.719 kB / 457.2 MB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.5457, allocations: 4.291 MB / 461.5 MB, free: 74.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.5461, allocations: 86.97 kB / 461.6 MB, free: 74.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.547, allocations: 131.7 kB / 461.7 MB, free: 74.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003815/0.5474, allocations: 323.4 kB / 462 MB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.5476, allocations: 96.17 kB / 462.1 MB, free: 74.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000948/0.5485, allocations: 1.029 MB / 463.2 MB, free: 74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5485, allocations: 0 / 463.2 MB, free: 74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004598/0.5531, allocations: 2.409 MB / 465.6 MB, free: 73.38 MB / 378.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.0004134/0.5536, allocations: 254.8 kB / 465.8 MB, free: 73.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004482/0.558, allocations: 4.321 MB / 470.1 MB, free: 71.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001516/0.5582, allocations: 113.4 kB / 470.3 MB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.5603, allocations: 2.371 MB / 472.6 MB, free: 69.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.5621, allocations: 1.092 MB / 473.7 MB, free: 68.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/0.6057, allocations: 13.94 MB / 487.7 MB, free: 55.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.6072, allocations: 1.845 MB / 489.5 MB, free: 54.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00231/0.6095, allocations: 0.7664 MB / 490.3 MB, free: 53.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.6109, allocations: 0.8512 MB / 491.1 MB, free: 52.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6109, allocations: 0 / 491.1 MB, free: 52.72 MB / 378.7 MB Notification: Performance of Templates: time 0.08404/0.695, allocations: 68.83 MB / 0.5468 GB, free: 0.7812 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.404258872382343]