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.001187/0.001187, allocations: 83.59 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.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.001364/0.001364, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.9264/0.9264, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.092e-06/1.092e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.786e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007839/0.007857, allocations: 9.77 MB / 282.8 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.01291, allocations: 3.345 MB / 286.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008147/0.01373, allocations: 83.56 kB / 286.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004136/0.01786, allocations: 4.119 MB / 290.3 MB, free: 124 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1166/0.1345, allocations: 1.534 MB / 291.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1361, allocations: 1.04 MB / 292.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006951/0.143, allocations: 9.646 MB / 302.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.1551, allocations: 12.86 MB / 315.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006507/0.1616, allocations: 7.555 MB / 322.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005723/0.1673, allocations: 6.255 MB / 329.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.169, allocations: 1.398 MB / 330.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1708, allocations: 1.65 MB / 332.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1723, allocations: 3.018 MB / 335.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.1754, allocations: 3.72 MB / 339 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.1824, allocations: 9.717 MB / 348.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1824, allocations: 0.75 kB / 348.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1824, allocations: 0 / 348.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.1826, allocations: 4 kB / 348.7 MB, free: 4.609 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.01551/0.1981, allocations: 13.27 MB / 362 MB, free: 7.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1981, allocations: 15.03 kB / 362 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02407/0.2222, allocations: 10.03 MB / 372 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/0.2289, allocations: 5.46 MB / 377.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.2292, allocations: 0.6609 MB / 378.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009499/0.2301, allocations: 0.8766 MB / 379 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.2431, allocations: 8.568 MB / 387.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.2432, allocations: 3.953 kB / 387.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006437/0.2438, allocations: 365.4 kB / 387.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005874/0.2444, allocations: 0.5582 MB / 388.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009121/0.2535, allocations: 5.111 MB / 393.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03851/0.292, allocations: 37.46 MB / 431.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2231/0.5152, allocations: 6.217 MB / 437.3 MB, free: 90.24 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.5173, allocations: 1.383 MB / 438.7 MB, free: 90.2 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.5176, allocations: 145.1 kB / 438.8 MB, free: 90.19 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.5176, allocations: 88.39 kB / 438.9 MB, free: 90.14 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 5.831e-06/0.5176, allocations: 0.75 kB / 438.9 MB, free: 90.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01047/0.5281, allocations: 6.127 MB / 445 MB, free: 89.84 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.5282, allocations: 128.4 kB / 445.2 MB, free: 89.74 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.532, allocations: 4.044 MB / 449.2 MB, free: 89.43 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.5322, allocations: 98.89 kB / 449.3 MB, free: 89.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.5338, allocations: 4.36 MB / 453.7 MB, free: 87.64 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007601/0.5346, allocations: 1.739 MB / 455.4 MB, free: 86.76 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/0.5361, allocations: 1.701 MB / 457.1 MB, free: 86.62 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.5361, allocations: 480.7 kB / 457.6 MB, free: 86.15 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.5377, allocations: 1.134 MB / 458.7 MB, free: 86.14 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.5405, allocations: 5.434 MB / 464.1 MB, free: 81.08 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.5453, allocations: 7.218 MB / 471.3 MB, free: 75.88 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.514e-05/0.5453, allocations: 24.03 kB / 471.4 MB, free: 75.88 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008392/0.5537, allocations: 6.954 MB / 478.3 MB, free: 74.81 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.5537, allocations: 47.38 kB / 478.4 MB, free: 74.81 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.619e-05/0.5538, allocations: 92.69 kB / 478.5 MB, free: 74.81 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.5568, allocations: 1.532 MB / 480 MB, free: 74.63 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.5596, allocations: 1.677 MB / 481.7 MB, free: 73.97 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/0.5671, allocations: 15.71 MB / 497.4 MB, free: 58.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.5699, allocations: 0.9657 MB / 498.3 MB, free: 57.53 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.5702, allocations: 371 kB / 498.7 MB, free: 57.18 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.0017/0.5719, allocations: 0.6337 MB / 499.3 MB, free: 56.66 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.5724, allocations: 0.5497 MB / 499.9 MB, free: 56.11 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005918/0.5783, allocations: 4.859 MB / 0.4929 GB, free: 52.26 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.5783, allocations: 52 kB / 0.493 GB, free: 52.21 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5783, allocations: 12 kB / 0.493 GB, free: 52.2 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/0.5784, allocations: 29.88 kB / 0.493 GB, free: 52.2 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.5914, allocations: 12.35 MB / 0.5051 GB, free: 40.55 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.5914, allocations: 4.062 kB / 0.5051 GB, free: 40.55 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.5931, allocations: 0.8698 MB / 0.5059 GB, free: 39.68 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/0.596, allocations: 1.423 MB / 0.5073 GB, free: 38.23 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.5962, allocations: 111.9 kB / 0.5074 GB, free: 38.12 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007382/0.6035, allocations: 15.52 MB / 0.5226 GB, free: 21.89 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6035, allocations: 4 kB / 0.5226 GB, free: 21.89 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007089/0.6106, allocations: 5.867 MB / 0.5283 GB, free: 15.79 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.6118, allocations: 0.9489 MB / 0.5292 GB, free: 14.84 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.6121, allocations: 84 kB / 0.5293 GB, free: 14.76 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6133, allocations: 303.7 kB / 0.5296 GB, free: 14.46 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/0.6137, allocations: 347.3 kB / 0.5299 GB, free: 14.12 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.6139, allocations: 148 kB / 0.5301 GB, free: 13.97 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001689/0.6156, allocations: 1.582 MB / 0.5316 GB, free: 12.39 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6156, allocations: 0 / 0.5316 GB, free: 12.39 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004605/0.6202, allocations: 2.411 MB / 0.534 GB, free: 9.977 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.0003884/0.6206, allocations: 262.5 kB / 0.5342 GB, free: 9.711 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005807/0.6264, allocations: 5.799 MB / 0.5399 GB, free: 3.781 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6264, allocations: 5.875 kB / 0.5399 GB, free: 3.777 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/0.629, allocations: 3.17 MB / 0.543 GB, free: 500 kB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.6308, allocations: 0.7526 MB / 0.5437 GB, free: 15.76 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.6478, allocations: 13.52 MB / 0.5569 GB, free: 2.113 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/0.6501, allocations: 2.519 MB / 0.5594 GB, free: 15.56 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004116/0.6542, allocations: 2.809 MB / 0.5621 GB, free: 12.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.655, allocations: 404.4 kB / 0.5625 GB, free: 12.35 MB / 410.8 MB Notification: Performance of SimCode: time 2.224e-06/0.655, allocations: 0 / 0.5625 GB, free: 12.35 MB / 410.8 MB Notification: Performance of Templates: time 0.1914/0.8464, allocations: 64.99 MB / 0.626 GB, free: 88.16 MB / 410.8 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 -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.866187295410782]