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.001312/0.001312, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001346/0.001346, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 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.9522/0.9522, allocations: 173.3 MB / 201.1 MB, free: 9.312 MB / 186.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.573e-06/1.573e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.304e-05, allocations: 6.25 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007829/0.007852, allocations: 9.751 MB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.01264, allocations: 3.298 MB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.0135, allocations: 83.62 kB / 281.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.01791, allocations: 4.111 MB / 285.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.02092, allocations: 1.57 MB / 286.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.02248, allocations: 1.032 MB / 287.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1187/0.1412, allocations: 9.498 MB / 297.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.1556, allocations: 12.86 MB / 310.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008821/0.1645, allocations: 7.562 MB / 317.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006803/0.1713, allocations: 6.25 MB / 324 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003181/0.1744, allocations: 1.398 MB / 325.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.1788, allocations: 1.63 MB / 327 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003491/0.1823, allocations: 3.016 MB / 330.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006454/0.1888, allocations: 3.718 MB / 333.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.199, allocations: 9.696 MB / 343.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.199, allocations: 0 / 343.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.199, allocations: 0 / 343.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003686/0.1994, allocations: 2.656 kB / 343.5 MB, free: 11.8 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.02059/0.22, allocations: 13.26 MB / 356.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.22, allocations: 8.922 kB / 356.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/0.2462, allocations: 10.17 MB / 366.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00896/0.2552, allocations: 5.45 MB / 372.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004958/0.2557, allocations: 0.6646 MB / 373 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/0.258, allocations: 0.8667 MB / 373.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.2749, allocations: 8.529 MB / 382.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.2751, allocations: 15.94 kB / 382.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/0.2758, allocations: 367.5 kB / 382.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.2762, allocations: 0.5504 MB / 383.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.289, allocations: 5.057 MB / 388.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06063/0.3497, allocations: 37.37 MB / 425.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/0.3581, allocations: 6.203 MB / 432 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.3609, allocations: 1.373 MB / 433.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.3612, allocations: 119.9 kB / 433.5 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/0.3612, allocations: 89.38 kB / 433.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.204e-06/0.3612, allocations: 0 / 433.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.2427/0.6039, allocations: 6.079 MB / 439.6 MB, free: 93.27 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.604, allocations: 129.9 kB / 439.8 MB, free: 93.17 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/0.6093, allocations: 4.038 MB / 443.8 MB, free: 92.86 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/0.6099, allocations: 101.4 kB / 443.9 MB, free: 92.82 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.6121, allocations: 4.359 MB / 448.3 MB, free: 91.06 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.6134, allocations: 1.738 MB / 450 MB, free: 90.18 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.615, allocations: 1.689 MB / 451.7 MB, free: 90.05 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.615, allocations: 480.8 kB / 452.2 MB, free: 89.58 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.6168, allocations: 1.127 MB / 453.3 MB, free: 89.56 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.6198, allocations: 5.42 MB / 458.7 MB, free: 84.51 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005364/0.6251, allocations: 7.188 MB / 465.9 MB, free: 79.3 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.214e-05/0.6252, allocations: 30.22 kB / 465.9 MB, free: 79.3 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009234/0.6344, allocations: 6.918 MB / 472.8 MB, free: 78.73 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.6345, allocations: 43.03 kB / 472.9 MB, free: 78.73 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-05/0.6345, allocations: 97.12 kB / 473 MB, free: 78.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.6377, allocations: 1.55 MB / 474.5 MB, free: 78.61 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.6409, allocations: 1.665 MB / 476.2 MB, free: 78.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/0.6488, allocations: 15.7 MB / 491.9 MB, free: 66.36 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.6526, allocations: 0.9718 MB / 492.9 MB, free: 65.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/0.6531, allocations: 362.8 kB / 493.2 MB, free: 65.75 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.00198/0.655, allocations: 0.6432 MB / 493.9 MB, free: 65.32 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/0.6556, allocations: 0.5401 MB / 494.4 MB, free: 65.05 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/0.6615, allocations: 4.875 MB / 499.3 MB, free: 62.35 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.6616, allocations: 48 kB / 499.3 MB, free: 62.3 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.6616, allocations: 12 kB / 499.3 MB, free: 62.29 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.6616, allocations: 26.81 kB / 499.4 MB, free: 62.29 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.6762, allocations: 12.31 MB / 0.4997 GB, free: 51.76 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6762, allocations: 4 kB / 0.4997 GB, free: 51.75 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.6779, allocations: 0.8621 MB / 0.5005 GB, free: 51.08 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.6809, allocations: 1.427 MB / 0.5019 GB, free: 49.99 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.6811, allocations: 108 kB / 0.502 GB, free: 49.88 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007336/0.6885, allocations: 15.5 MB / 0.5172 GB, free: 33.73 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6885, allocations: 7.562 kB / 0.5172 GB, free: 33.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/0.6968, allocations: 5.832 MB / 0.5229 GB, free: 27.73 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.6983, allocations: 0.9489 MB / 0.5238 GB, free: 26.77 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.6987, allocations: 87.94 kB / 0.5239 GB, free: 26.69 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.6999, allocations: 311.7 kB / 0.5242 GB, free: 26.38 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.7005, allocations: 339.1 kB / 0.5245 GB, free: 26.05 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.7006, allocations: 136 kB / 0.5246 GB, free: 25.92 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00178/0.7024, allocations: 1.586 MB / 0.5262 GB, free: 24.34 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7024, allocations: 0 / 0.5262 GB, free: 24.34 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005202/0.7076, allocations: 2.403 MB / 0.5285 GB, free: 21.93 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.0005389/0.7081, allocations: 270.7 kB / 0.5288 GB, free: 21.7 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.007267/0.7154, allocations: 5.774 MB / 0.5344 GB, free: 15.79 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.7154, allocations: 4.188 kB / 0.5344 GB, free: 15.79 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.7184, allocations: 3.157 MB / 0.5375 GB, free: 12.51 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.7207, allocations: 0.7532 MB / 0.5382 GB, free: 11.79 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.7385, allocations: 13.61 MB / 0.5515 GB, free: 14.03 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.7408, allocations: 2.519 MB / 0.554 GB, free: 11.48 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.004687/0.7455, allocations: 2.809 MB / 0.5567 GB, free: 8.668 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/0.7463, allocations: 372.4 kB / 0.5571 GB, free: 8.301 MB / 394.8 MB Notification: Performance of SimCode: time 3.767e-06/0.7463, allocations: 0 / 0.5571 GB, free: 8.301 MB / 394.8 MB Notification: Performance of Templates: time 0.2103/0.9566, allocations: 63.97 MB / 0.6196 GB, free: 104.7 MB / 410.8 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 -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.9410565267317]