Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002254/0.002254, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance")
translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2231, allocations: 53.36 MB / 432.2 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008566/0.2317, allocations: 6.711 MB / 438.9 MB, free: 348 kB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004104/0.2358, allocations: 2.285 MB / 441.1 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.2363, allocations: 55.69 kB / 441.2 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.2371, allocations: 389.4 kB / 441.6 MB, free: 13.61 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002042/0.2391, allocations: 0.8667 MB / 442.4 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.2399, allocations: 355.2 kB / 442.8 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00387/0.2438, allocations: 3.209 MB / 446 MB, free: 9.172 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2453, allocations: 1.101 MB / 447.1 MB, free: 8.023 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.2469, allocations: 1.343 MB / 448.4 MB, free: 6.676 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.2491, allocations: 1.658 MB / 450.1 MB, free: 5.012 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.2495, allocations: 300 kB / 450.4 MB, free: 4.719 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.2504, allocations: 427.9 kB / 450.8 MB, free: 4.301 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008723/0.2513, allocations: 0.8646 MB / 451.7 MB, free: 3.434 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001697/0.253, allocations: 1.462 MB / 453.1 MB, free: 1.965 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004452/0.2574, allocations: 4.124 MB / 457.3 MB, free: 13.83 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2575, allocations: 0 / 457.3 MB, free: 13.83 MB / 366.1 MB
Notification: Performance of FrontEnd: time 9.91e-07/0.2575, allocations: 0 / 457.3 MB, free: 13.83 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.471e-05/0.2575, allocations: 0 / 457.3 MB, free: 13.83 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 591
 * Number of variables: 591
Notification: Performance of Generate backend data structure: time 0.008792/0.2663, allocations: 3.49 MB / 460.8 MB, free: 10.29 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2664, allocations: 12.03 kB / 460.8 MB, free: 10.28 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.2709, allocations: 0.7563 MB / 461.5 MB, free: 9.52 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.2746, allocations: 1.687 MB / 463.2 MB, free: 7.789 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2748, allocations: 173 kB / 463.4 MB, free: 7.617 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.2752, allocations: 232.1 kB / 463.6 MB, free: 7.391 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00636/0.2816, allocations: 3.215 MB / 466.8 MB, free: 4.113 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.2816, allocations: 0 / 466.8 MB, free: 4.113 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.2819, allocations: 104 kB / 466.9 MB, free: 4.012 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/0.282, allocations: 75.31 kB / 467 MB, free: 3.941 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/0.2876, allocations: 2.878 MB / 469.9 MB, free: 1.059 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.3036, allocations: 9.208 MB / 479.1 MB, free: 7.461 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.3078, allocations: 1.848 MB / 480.9 MB, free: 5.598 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.3091, allocations: 0.7778 MB / 481.7 MB, free: 4.816 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003918/0.3131, allocations: 2.241 MB / 484 MB, free: 2.543 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.3131, allocations: 50.77 kB / 484 MB, free: 2.484 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=92): time 2.485e-06/0.3131, allocations: 4 kB / 484 MB, free: 2.48 MB / 382.1 MB
Notification: Performance of matching and sorting (n=100): time 0.008293/0.3214, allocations: 4.138 MB / 488.1 MB, free: 14.29 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.3215, allocations: 115.2 kB / 488.3 MB, free: 14.16 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.3237, allocations: 1.621 MB / 489.9 MB, free: 12.52 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.3238, allocations: 49.7 kB / 489.9 MB, free: 12.46 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.3247, allocations: 1.137 MB / 491.1 MB, free: 11.32 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.325, allocations: 372.9 kB / 491.4 MB, free: 10.95 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.3254, allocations: 246.8 kB / 491.7 MB, free: 10.7 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001786/0.3256, allocations: 357.9 kB / 492 MB, free: 10.35 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.3267, allocations: 0.631 MB / 492.6 MB, free: 9.715 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3281, allocations: 1.015 MB / 493.7 MB, free: 8.539 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.3308, allocations: 1.701 MB / 495.4 MB, free: 6.68 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3308, allocations: 4 kB / 495.4 MB, free: 6.676 MB / 398.1 MB
Notification: Performance of matching and sorting (n=163) (initialization): time 0.003566/0.3343, allocations: 1.954 MB / 497.3 MB, free: 4.707 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3344, allocations: 16 kB / 497.3 MB, free: 4.691 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3344, allocations: 12 kB / 497.3 MB, free: 4.68 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/0.3348, allocations: 117.6 kB / 497.5 MB, free: 4.559 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.3363, allocations: 339.5 kB / 497.8 MB, free: 4.227 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.3411, allocations: 3.229 MB / 0.4893 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3422, allocations: 99.67 kB / 0.4894 GB, free: 0.6719 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.3423, allocations: 56 kB / 0.4894 GB, free: 0.6172 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 53
 * 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 (155):
 * Single equations (assignments): 153
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001412/0.3437, allocations: 0.8347 MB / 0.4902 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.344, allocations: 162.9 kB / 0.4904 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.3468, allocations: 1.389 MB / 0.4918 GB, free: 14.21 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.3468, allocations: 15.94 kB / 0.4918 GB, free: 14.19 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3468, allocations: 7.984 kB / 0.4918 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3468, allocations: 3.984 kB / 0.4918 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.3512, allocations: 2.448 MB / 0.4942 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3512, allocations: 4 kB / 0.4942 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/0.3521, allocations: 179.8 kB / 0.4943 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007099/0.3528, allocations: 258.4 kB / 0.4946 GB, free: 11.22 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.3528, allocations: 31.98 kB / 0.4946 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006647/0.3595, allocations: 5.94 MB / 0.5004 GB, free: 4.91 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3595, allocations: 7.969 kB / 0.5004 GB, free: 4.902 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/0.3638, allocations: 2.55 MB / 0.5029 GB, free: 2.316 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.3643, allocations: 194.8 kB / 0.5031 GB, free: 2.125 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.3645, allocations: 28 kB / 0.5031 GB, free: 2.098 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.3654, allocations: 95.83 kB / 0.5032 GB, free: 2.004 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3657, allocations: 100.2 kB / 0.5033 GB, free: 1.906 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.3657, allocations: 31.98 kB / 0.5034 GB, free: 1.875 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.001714/0.3674, allocations: 1.135 MB / 0.5045 GB, free: 0.7383 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3674, allocations: 0 / 0.5045 GB, free: 0.7383 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001513/0.369, allocations: 444 kB / 0.5049 GB, free: 312 kB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76):
 * Single equations (assignments): 73
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000314/0.3693, allocations: 155.1 kB / 0.505 GB, free: 144 kB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003155/0.3724, allocations: 1.671 MB / 0.5067 GB, free: 14.45 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3724, allocations: 0 / 0.5067 GB, free: 14.45 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002036/0.3745, allocations: 1.15 MB / 0.5078 GB, free: 13.27 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.3759, allocations: 288.9 kB / 0.5081 GB, free: 12.98 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007792/0.3837, allocations: 4.758 MB / 0.5127 GB, free: 8.168 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.3858, allocations: 2.113 MB / 0.5148 GB, free: 6.016 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001216/0.387, allocations: 459.5 kB / 0.5152 GB, free: 5.562 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3873, allocations: 99.42 kB / 0.5153 GB, free: 5.465 MB / 430.1 MB
Notification: Performance of SimCode: time 9.92e-07/0.3873, allocations: 4 kB / 0.5153 GB, free: 5.461 MB / 430.1 MB
Notification: Performance of Templates: time 0.03807/0.4254, allocations: 21 MB / 0.5358 GB, free: 0.6367 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.410884341225028]