Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001389/0.001389, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.00137/0.00137, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.94 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.0989, allocations: 53.32 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.182/0.2809, allocations: 6.685 MB / 433.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.2856, allocations: 2.264 MB / 435.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/0.2865, allocations: 52.28 kB / 435.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2876, allocations: 377.7 kB / 436.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.2905, allocations: 0.8572 MB / 437 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.2917, allocations: 357.6 kB / 437.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.2973, allocations: 3.194 MB / 440.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.3003, allocations: 1.501 MB / 442.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.3039, allocations: 1.332 MB / 443.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.3075, allocations: 1.65 MB / 445 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006805/0.3081, allocations: 294.2 kB / 445.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3099, allocations: 433.3 kB / 445.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.311, allocations: 0.8562 MB / 446.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00275/0.3137, allocations: 1.459 MB / 448.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006834/0.3206, allocations: 4.128 MB / 452.2 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3206, allocations: 0 / 452.2 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3206, allocations: 0 / 452.2 MB, free: 120 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.3207, allocations: 0 / 452.2 MB, free: 120 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01436/0.3351, allocations: 3.552 MB / 455.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3351, allocations: 9.438 kB / 455.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008074/0.3432, allocations: 0.7574 MB / 456.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0059/0.3491, allocations: 1.729 MB / 458.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.3493, allocations: 173.4 kB / 458.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.3501, allocations: 230.3 kB / 458.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009836/0.36, allocations: 3.207 MB / 461.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.519e-05/0.36, allocations: 3.938 kB / 461.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.3604, allocations: 92.12 kB / 461.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3606, allocations: 67.78 kB / 462 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008418/0.369, allocations: 2.867 MB / 464.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02488/0.3939, allocations: 9.179 MB / 474.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.402, allocations: 4.322 MB / 478.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.404, allocations: 0.7512 MB / 479.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006885/0.4109, allocations: 3.166 MB / 482.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.4109, allocations: 46.89 kB / 482.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.807e-06/0.4109, allocations: 0 / 482.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01328/0.4242, allocations: 4.292 MB / 486.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.4243, allocations: 111.2 kB / 486.7 MB, free: 3.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.4281, allocations: 1.626 MB / 488.4 MB, free: 1.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.4282, allocations: 41.7 kB / 488.4 MB, free: 1.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.4296, allocations: 1.141 MB / 489.5 MB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.4301, allocations: 373 kB / 489.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.4308, allocations: 242.8 kB / 490.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002656/0.431, allocations: 357.9 kB / 490.5 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4329, allocations: 0.6349 MB / 491.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.4353, allocations: 1.015 MB / 492.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.4396, allocations: 1.7 MB / 493.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4397, allocations: 4 kB / 493.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005845/0.4455, allocations: 1.945 MB / 495.8 MB, free: 9.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.4455, allocations: 15.98 kB / 495.8 MB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.4456, allocations: 15.94 kB / 495.8 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.4461, allocations: 132.2 kB / 496 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.4483, allocations: 331.5 kB / 496.3 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005104/0.4534, allocations: 3.423 MB / 499.7 MB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4551, allocations: 99.73 kB / 499.8 MB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4552, allocations: 59.98 kB / 499.9 MB, free: 5.383 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.00184/0.4571, allocations: 0.825 MB / 0.489 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.4575, allocations: 170.9 kB / 0.4891 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.4605, allocations: 1.385 MB / 0.4905 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4605, allocations: 8 kB / 0.4905 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4605, allocations: 10.94 kB / 0.4905 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4605, allocations: 19.91 kB / 0.4905 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.4649, allocations: 2.434 MB / 0.4929 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4649, allocations: 0 / 0.4929 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.4658, allocations: 195.8 kB / 0.4931 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.4665, allocations: 255.4 kB / 0.4933 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.4666, allocations: 35.92 kB / 0.4933 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/0.4733, allocations: 6.245 MB / 0.4994 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4733, allocations: 8.094 kB / 0.4995 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004474/0.4777, allocations: 2.561 MB / 0.502 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.4783, allocations: 256 kB / 0.5022 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.4785, allocations: 35.92 kB / 0.5022 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.4794, allocations: 87.91 kB / 0.5023 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.4797, allocations: 96.09 kB / 0.5024 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.4798, allocations: 35.98 kB / 0.5024 GB, free: 6.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4815, allocations: 1.135 MB / 0.5035 GB, free: 5.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4815, allocations: 0 / 0.5035 GB, free: 5.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001709/0.4832, allocations: 448 kB / 0.504 GB, free: 4.586 MB / 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.0003555/0.4836, allocations: 163.7 kB / 0.5041 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.4867, allocations: 1.669 MB / 0.5058 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4867, allocations: 0 / 0.5058 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.4888, allocations: 1.157 MB / 0.5069 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4905, allocations: 281.7 kB / 0.5072 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.4984, allocations: 4.714 MB / 0.5118 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/0.5003, allocations: 2.105 MB / 0.5138 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.5016, allocations: 455.5 kB / 0.5143 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5019, allocations: 99.42 kB / 0.5143 GB, free: 9.801 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5019, allocations: 0 / 0.5143 GB, free: 9.801 MB / 430.1 MB Notification: Performance of Templates: time 0.03804/0.5399, allocations: 20.28 MB / 0.5342 GB, free: 5.707 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.445319961756468]