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.001541/0.001541, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001858/0.001858, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.423/1.423, allocations: 230.4 MB / 255.4 MB, free: 14.95 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|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.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|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.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.001869/0.001869, allocations: 67.91 kB / 374.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09862, allocations: 53.31 MB / 428.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2174/0.316, allocations: 6.667 MB / 434.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.3197, allocations: 2.263 MB / 437 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/0.3205, allocations: 47 kB / 437 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.3213, allocations: 382 kB / 437.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.3234, allocations: 0.8592 MB / 438.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.3242, allocations: 351.6 kB / 438.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.3279, allocations: 3.195 MB / 441.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.3297, allocations: 1.498 MB / 443.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.3317, allocations: 1.303 MB / 444.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.3345, allocations: 1.65 MB / 446.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000693/0.3352, allocations: 294 kB / 446.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3365, allocations: 432.4 kB / 447 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008213/0.3373, allocations: 0.8568 MB / 447.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.3395, allocations: 1.463 MB / 449.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.345, allocations: 4.118 MB / 453.4 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.345, allocations: 0 / 453.4 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.345, allocations: 0 / 453.4 MB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.3452, allocations: 0 / 453.4 MB, free: 144 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.01068/0.3559, allocations: 3.556 MB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3559, allocations: 9.719 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.3604, allocations: 0.7546 MB / 457.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.3641, allocations: 1.736 MB / 459.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3643, allocations: 173.6 kB / 459.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.3647, allocations: 231.8 kB / 459.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/0.3706, allocations: 3.206 MB / 463.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.3707, allocations: 0 / 463.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.3709, allocations: 92.31 kB / 463.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.371, allocations: 74.34 kB / 463.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004997/0.376, allocations: 2.87 MB / 466.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.3918, allocations: 9.175 MB / 475.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005478/0.3972, allocations: 4.323 MB / 479.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3986, allocations: 0.7532 MB / 480.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005341/0.4039, allocations: 3.154 MB / 483.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.404, allocations: 58.81 kB / 483.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.956e-06/0.404, allocations: 0 / 483.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01036/0.4143, allocations: 4.281 MB / 487.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4144, allocations: 115.2 kB / 488 MB, free: 3.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.4174, allocations: 1.621 MB / 489.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.4176, allocations: 41.7 kB / 489.6 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.4186, allocations: 1.153 MB / 490.8 MB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.4191, allocations: 372.9 kB / 491.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/0.4196, allocations: 238.8 kB / 491.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4198, allocations: 357.9 kB / 491.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.421, allocations: 0.631 MB / 492.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.4226, allocations: 1.016 MB / 493.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.4253, allocations: 1.702 MB / 495.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.4253, allocations: 0 / 495.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003902/0.4292, allocations: 1.949 MB / 497 MB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.4292, allocations: 18.48 kB / 497 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.4293, allocations: 12 kB / 497.1 MB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.4297, allocations: 126.1 kB / 497.2 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.431, allocations: 336.2 kB / 497.5 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.4345, allocations: 3.422 MB / 0.4892 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4358, allocations: 95.67 kB / 0.4893 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.436, allocations: 59.98 kB / 0.4893 GB, free: 5.43 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.001588/0.4375, allocations: 0.8293 MB / 0.4901 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.438, allocations: 167 kB / 0.4903 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.4409, allocations: 1.387 MB / 0.4917 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4409, allocations: 12 kB / 0.4917 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.4409, allocations: 7.984 kB / 0.4917 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.4409, allocations: 7.922 kB / 0.4917 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/0.4459, allocations: 2.45 MB / 0.4941 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4459, allocations: 0 / 0.4941 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/0.4468, allocations: 183.8 kB / 0.4943 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/0.4475, allocations: 258.6 kB / 0.4945 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.4476, allocations: 36.02 kB / 0.4945 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.4543, allocations: 6.255 MB / 0.5006 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4543, allocations: 3.938 kB / 0.5006 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/0.459, allocations: 2.566 MB / 0.5031 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.4597, allocations: 256 kB / 0.5034 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/0.4601, allocations: 31.92 kB / 0.5034 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.4613, allocations: 88.03 kB / 0.5035 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.4615, allocations: 112 kB / 0.5036 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.4616, allocations: 27.98 kB / 0.5036 GB, free: 6.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.4637, allocations: 1.139 MB / 0.5048 GB, free: 5.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4637, allocations: 0 / 0.5048 GB, free: 5.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00205/0.4658, allocations: 444 kB / 0.5052 GB, free: 4.625 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.0003873/0.4661, allocations: 167.3 kB / 0.5053 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.4693, allocations: 1.664 MB / 0.507 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4693, allocations: 1.75 kB / 0.507 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.4714, allocations: 1.157 MB / 0.5081 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.4733, allocations: 288.9 kB / 0.5084 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009953/0.4833, allocations: 4.686 MB / 0.5129 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.486, allocations: 2.042 MB / 0.5149 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.4868, allocations: 119.4 kB / 0.5151 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.4868, allocations: 0 / 0.5151 GB, free: 10.35 MB / 430.1 MB Notification: Performance of Templates: time 0.07256/0.5593, allocations: 57.71 MB / 0.5714 GB, free: 0.7109 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.243847192032263]