Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.001344/0.001344, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001361/0.001361, allocations: 188 kB / 23.72 MB, free: 4.68 MB / 14.72 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 1.412/1.412, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 43.92 kB / 370.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.227, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006675/0.2337, allocations: 4.725 MB / 427.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.237, allocations: 1.701 MB / 429.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.2373, allocations: 31.81 kB / 429.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.238, allocations: 270.2 kB / 429.8 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.2398, allocations: 0.7152 MB / 430.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.2404, allocations: 238.3 kB / 430.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.2429, allocations: 1.88 MB / 432.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009856/0.2439, allocations: 0.6761 MB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.2449, allocations: 0.8216 MB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.2462, allocations: 1.008 MB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.2465, allocations: 184 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.2472, allocations: 311.9 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.2477, allocations: 0.5414 MB / 436.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.2488, allocations: 0.8943 MB / 437.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.2518, allocations: 2.578 MB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2518, allocations: 4 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2518, allocations: 0 / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.29e-05/0.2519, allocations: 0 / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00507/0.257, allocations: 2.145 MB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.257, allocations: 12.03 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.2588, allocations: 375.6 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2607, allocations: 1.042 MB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.2608, allocations: 103 kB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.261, allocations: 136.1 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.2643, allocations: 1.894 MB / 445.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.2643, allocations: 3.938 kB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.2645, allocations: 52 kB / 445.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.2645, allocations: 46 kB / 445.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.2675, allocations: 1.684 MB / 447.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00952/0.2771, allocations: 5.429 MB / 452.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.2796, allocations: 1.065 MB / 453.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.2803, allocations: 474.9 kB / 454.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0023/0.2826, allocations: 1.362 MB / 455.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2827, allocations: 46.56 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.2827, allocations: 0 / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003362/0.286, allocations: 1.329 MB / 456.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.2861, allocations: 89.03 kB / 456.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2876, allocations: 1.024 MB / 457.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.2876, allocations: 37.7 kB / 458 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/0.2882, allocations: 0.6948 MB / 458.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.2884, allocations: 198.3 kB / 458.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.2886, allocations: 130.3 kB / 459 MB, free: 10.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2888, allocations: 330 kB / 459.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.2894, allocations: 369 kB / 459.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.2902, allocations: 0.5121 MB / 460.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.2916, allocations: 0.8634 MB / 461.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2916, allocations: 4 kB / 461.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00182/0.2935, allocations: 1.018 MB / 462.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2935, allocations: 8 kB / 462.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2935, allocations: 7.984 kB / 462.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2935, allocations: 11.94 kB / 462.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.2943, allocations: 179.8 kB / 462.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.2943, allocations: 11.94 kB / 462.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.2949, allocations: 91.53 kB / 462.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.2949, allocations: 27.98 kB / 462.4 MB, free: 6.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008112/0.2958, allocations: 0.5247 MB / 462.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.2959, allocations: 91.44 kB / 463 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.2973, allocations: 0.6891 MB / 463.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2973, allocations: 4 kB / 463.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.2973, allocations: 4 kB / 463.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2973, allocations: 11.86 kB / 463.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.3002, allocations: 1.636 MB / 465.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3002, allocations: 0 / 465.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.3007, allocations: 95.86 kB / 465.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.3012, allocations: 162.5 kB / 465.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.3012, allocations: 19.98 kB / 465.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.3047, allocations: 2.737 MB / 468.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3047, allocations: 0 / 468.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.3074, allocations: 1.478 MB / 469.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.3077, allocations: 119.3 kB / 470 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3079, allocations: 15.98 kB / 470 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.3085, allocations: 63.88 kB / 470 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3086, allocations: 51.91 kB / 470.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.3086, allocations: 19.98 kB / 470.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.3097, allocations: 0.7293 MB / 470.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3097, allocations: 0 / 470.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.3107, allocations: 366.8 kB / 471.2 MB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/0.311, allocations: 147.4 kB / 471.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3125, allocations: 0.7565 MB / 472.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3125, allocations: 3.984 kB / 472.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3136, allocations: 0.5712 MB / 472.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.3146, allocations: 176 kB / 472.9 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.3196, allocations: 2.816 MB / 475.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.3208, allocations: 1.495 MB / 477.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00063/0.3214, allocations: 234.7 kB / 477.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.3216, allocations: 63.42 kB / 477.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3216, allocations: 0 / 477.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of Templates: time 0.02371/0.3453, allocations: 12.33 MB / 489.8 MB, free: 11.11 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",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.792010790668428]