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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 230.4 MB / 251.1 MB, free: 8.484 MB / 206.1 MB 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.001972/0.001972, allocations: 63.89 kB / 369 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.243, allocations: 53.32 MB / 422.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008321/0.2514, allocations: 6.672 MB / 428.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.2559, allocations: 2.277 MB / 431.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006783/0.2565, allocations: 39.88 kB / 431.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.2574, allocations: 385.4 kB / 431.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.2594, allocations: 0.8473 MB / 432.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.2603, allocations: 353.8 kB / 432.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.2642, allocations: 3.191 MB / 436 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.266, allocations: 1.5 MB / 437.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2679, allocations: 1.308 MB / 438.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.2701, allocations: 1.646 MB / 440.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004144/0.2705, allocations: 296 kB / 440.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.2714, allocations: 431.9 kB / 441.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007723/0.2721, allocations: 0.8568 MB / 442 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.2738, allocations: 1.458 MB / 443.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.2782, allocations: 4.126 MB / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2782, allocations: 0 / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2782, allocations: 0 / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.972e-05/0.2783, allocations: 4 kB / 447.6 MB, free: 14.38 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.007894/0.2862, allocations: 3.546 MB / 451.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2862, allocations: 8.031 kB / 451.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.2904, allocations: 0.7641 MB / 451.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.2936, allocations: 1.732 MB / 453.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.2938, allocations: 173 kB / 453.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.2942, allocations: 240 kB / 454.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/0.2999, allocations: 3.203 MB / 457.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.2999, allocations: 0 / 457.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.3001, allocations: 92 kB / 457.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/0.3002, allocations: 73.98 kB / 457.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/0.3052, allocations: 2.866 MB / 460.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.3204, allocations: 9.175 MB / 469.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/0.3256, allocations: 4.318 MB / 473.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.3269, allocations: 0.7551 MB / 474.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004515/0.3314, allocations: 3.173 MB / 477.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.3314, allocations: 42.89 kB / 477.8 MB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.275e-06/0.3314, allocations: 0 / 477.8 MB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.008397/0.3398, allocations: 4.279 MB / 482.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.3399, allocations: 119.2 kB / 482.2 MB, free: 10.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.3422, allocations: 1.621 MB / 483.8 MB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.3423, allocations: 41.7 kB / 483.8 MB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/0.3431, allocations: 1.145 MB / 485 MB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.3435, allocations: 368.9 kB / 485.3 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.3438, allocations: 242.8 kB / 485.6 MB, free: 6.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.344, allocations: 357.9 kB / 485.9 MB, free: 6.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3451, allocations: 0.6388 MB / 486.6 MB, free: 5.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3465, allocations: 1.019 MB / 487.6 MB, free: 4.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.349, allocations: 1.695 MB / 489.3 MB, free: 2.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.349, allocations: 4 kB / 489.3 MB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003436/0.3524, allocations: 1.957 MB / 491.2 MB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3524, allocations: 8 kB / 491.2 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.3525, allocations: 15.94 kB / 491.3 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.3528, allocations: 126.1 kB / 491.4 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3541, allocations: 331.5 kB / 491.7 MB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.3574, allocations: 3.431 MB / 495.1 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3584, allocations: 103.7 kB / 495.2 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/0.3585, allocations: 59.98 kB / 495.3 MB, free: 12.48 MB / 414.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.001316/0.3598, allocations: 0.8253 MB / 496.1 MB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.3601, allocations: 163 kB / 496.3 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.3627, allocations: 1.385 MB / 497.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3627, allocations: 8 kB / 497.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3627, allocations: 7.938 kB / 497.7 MB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3627, allocations: 11.98 kB / 497.7 MB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.3666, allocations: 2.445 MB / 0.4884 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.3666, allocations: 3.938 kB / 0.4884 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/0.3674, allocations: 191.8 kB / 0.4886 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006502/0.3681, allocations: 261.6 kB / 0.4889 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.3682, allocations: 35.97 kB / 0.4889 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006464/0.3746, allocations: 6.252 MB / 0.495 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3746, allocations: 12.03 kB / 0.495 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.3788, allocations: 2.557 MB / 0.4975 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.3793, allocations: 256 kB / 0.4977 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3794, allocations: 31.94 kB / 0.4978 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008263/0.3803, allocations: 91.89 kB / 0.4979 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.3805, allocations: 88.3 kB / 0.498 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.3806, allocations: 35.98 kB / 0.498 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.3822, allocations: 1.132 MB / 0.4991 GB, free: 12.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3822, allocations: 0 / 0.4991 GB, free: 12.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001501/0.3837, allocations: 448 kB / 0.4995 GB, free: 11.69 MB / 430.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.0003121/0.384, allocations: 169.1 kB / 0.4997 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.387, allocations: 1.669 MB / 0.5013 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.387, allocations: 128 / 0.5013 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.3889, allocations: 1.156 MB / 0.5024 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.3903, allocations: 288 kB / 0.5027 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007549/0.3979, allocations: 4.736 MB / 0.5073 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.3998, allocations: 2.113 MB / 0.5094 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.401, allocations: 455.5 kB / 0.5098 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.4013, allocations: 107.3 kB / 0.5099 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4013, allocations: 0 / 0.5099 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of Templates: time 0.03787/0.4392, allocations: 20.36 MB / 0.5298 GB, free: 12.71 MB / 462.1 MB 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] Reference file matches