Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001758/0.001758, allocations: 106.5 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.002177/0.002177, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 60.78 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2272, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008211/0.2354, allocations: 6.698 MB / 439.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.2395, allocations: 2.281 MB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.2399, allocations: 59.62 kB / 441.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.2407, allocations: 381.5 kB / 441.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.2426, allocations: 0.8589 MB / 442.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.2433, allocations: 362.4 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004357/0.2477, allocations: 3.198 MB / 446.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.2493, allocations: 1.1 MB / 447.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.2514, allocations: 1.328 MB / 448.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.2542, allocations: 1.658 MB / 450.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004654/0.2547, allocations: 292 kB / 450.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009744/0.2557, allocations: 435.8 kB / 451 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.2565, allocations: 0.8607 MB / 451.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.2583, allocations: 1.466 MB / 453.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.2628, allocations: 4.11 MB / 457.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2628, allocations: 0 / 457.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2628, allocations: 0 / 457.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.278e-05/0.2629, allocations: 0 / 457.5 MB, free: 13.77 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007749/0.2706, allocations: 3.482 MB / 460.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2707, allocations: 8.031 kB / 461 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/0.2748, allocations: 0.7563 MB / 461.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.278, allocations: 1.691 MB / 463.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.2781, allocations: 173 kB / 463.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.2785, allocations: 236.1 kB / 463.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/0.2839, allocations: 3.203 MB / 467 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.284, allocations: 8 kB / 467 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2842, allocations: 92 kB / 467.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.2843, allocations: 70 kB / 467.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/0.2891, allocations: 2.862 MB / 470 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.3034, allocations: 9.05 MB / 479.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.3071, allocations: 1.835 MB / 480.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.3083, allocations: 0.7598 MB / 481.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003774/0.3121, allocations: 2.246 MB / 483.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.3121, allocations: 58.81 kB / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.104e-06/0.3121, allocations: 0 / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007775/0.3199, allocations: 4.128 MB / 488.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.32, allocations: 111.2 kB / 488.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.3223, allocations: 1.625 MB / 489.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.3224, allocations: 41.7 kB / 489.9 MB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/0.3232, allocations: 1.145 MB / 491 MB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.3236, allocations: 384.8 kB / 491.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.324, allocations: 238.8 kB / 491.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3243, allocations: 357.9 kB / 492 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3254, allocations: 0.6388 MB / 492.6 MB, free: 9.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.3268, allocations: 1.008 MB / 493.6 MB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.3293, allocations: 1.698 MB / 495.3 MB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3293, allocations: 4 kB / 495.3 MB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003512/0.3329, allocations: 1.957 MB / 497.3 MB, free: 4.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3329, allocations: 15.94 kB / 497.3 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3329, allocations: 12 kB / 497.3 MB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.3333, allocations: 125.6 kB / 497.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.3346, allocations: 339.5 kB / 497.8 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.3378, allocations: 3.221 MB / 0.4893 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3388, allocations: 99.67 kB / 0.4893 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.3389, allocations: 55.98 kB / 0.4894 GB, free: 0.832 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.001338/0.3402, allocations: 0.8387 MB / 0.4902 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.3405, allocations: 159 kB / 0.4904 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.3431, allocations: 1.381 MB / 0.4917 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3431, allocations: 15.98 kB / 0.4917 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3431, allocations: 7.938 kB / 0.4917 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3432, allocations: 3.984 kB / 0.4917 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.347, allocations: 2.445 MB / 0.4941 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.347, allocations: 3.938 kB / 0.4941 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008623/0.3479, allocations: 183.8 kB / 0.4943 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/0.3486, allocations: 258.4 kB / 0.4946 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.3487, allocations: 35.97 kB / 0.4946 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.355, allocations: 5.951 MB / 0.5004 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.355, allocations: 0 / 0.5004 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.3591, allocations: 2.55 MB / 0.5029 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.3595, allocations: 186.9 kB / 0.5031 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.3597, allocations: 35.92 kB / 0.5031 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.3606, allocations: 83.91 kB / 0.5032 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.3608, allocations: 108.2 kB / 0.5033 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.3609, allocations: 31.98 kB / 0.5033 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.3625, allocations: 1.132 MB / 0.5044 GB, free: 0.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 0 / 0.5044 GB, free: 0.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001493/0.364, allocations: 447.9 kB / 0.5049 GB, free: 0.5195 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.0002965/0.3643, allocations: 159 kB / 0.505 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.3672, allocations: 1.667 MB / 0.5066 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3672, allocations: 0 / 0.5066 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.3691, allocations: 1.142 MB / 0.5077 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.3705, allocations: 285.5 kB / 0.508 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.378, allocations: 4.746 MB / 0.5127 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.3799, allocations: 2.113 MB / 0.5147 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.3811, allocations: 455.5 kB / 0.5152 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.3814, allocations: 107.4 kB / 0.5153 GB, free: 5.691 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3814, allocations: 0 / 0.5153 GB, free: 5.691 MB / 430.1 MB Notification: Performance of Templates: time 0.0398/0.4212, allocations: 21.01 MB / 0.5358 GB, free: 0.9102 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.348992845974863]