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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 113.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003172/0.003173, allocations: 208.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.069/3.069, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4592, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01994/0.4792, allocations: 6.633 MB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008439/0.4877, allocations: 2.258 MB / 418.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.4895, allocations: 43.81 kB / 418.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006256/0.4958, allocations: 369.5 kB / 419.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.5014, allocations: 0.8316 MB / 420.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.5037, allocations: 355.3 kB / 420.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008122/0.5119, allocations: 3.191 MB / 423.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009496/0.5214, allocations: 2.007 MB / 425.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.5253, allocations: 1.3 MB / 426.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/0.5299, allocations: 1.619 MB / 428.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.5312, allocations: 296 kB / 428.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.5336, allocations: 435.7 kB / 429.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.5355, allocations: 0.8529 MB / 430.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00395/0.5395, allocations: 1.462 MB / 431.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008702/0.5483, allocations: 4.11 MB / 435.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.5484, allocations: 0 / 435.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5484, allocations: 0 / 435.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.5486, allocations: 0 / 435.7 MB, free: 7.75 MB / 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.01809/0.5667, allocations: 3.478 MB / 439.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.5668, allocations: 8.031 kB / 439.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/0.5765, allocations: 0.7625 MB / 439.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.5839, allocations: 1.723 MB / 441.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5842, allocations: 173 kB / 441.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.5855, allocations: 228.1 kB / 442 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.5987, allocations: 3.195 MB / 445.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.5989, allocations: 3.984 kB / 445.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008866/0.5998, allocations: 96 kB / 445.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.5999, allocations: 70 kB / 445.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.6107, allocations: 2.862 MB / 448.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/0.6519, allocations: 9.141 MB / 457.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/0.6614, allocations: 4.385 MB / 461.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006803/0.6683, allocations: 0.8021 MB / 462.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009058/0.6774, allocations: 3.15 MB / 465.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.6775, allocations: 46.89 kB / 465.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 1.207e-05/0.6775, allocations: 0 / 465.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.02162/0.6992, allocations: 4.21 MB / 470 MB, free: 3.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.6993, allocations: 115.2 kB / 470.1 MB, free: 3.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/0.704, allocations: 1.614 MB / 471.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.7044, allocations: 45.7 kB / 471.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.7058, allocations: 1.11 MB / 472.9 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006344/0.7064, allocations: 354.9 kB / 473.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008524/0.7073, allocations: 242.7 kB / 473.4 MB, free: 364 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.7076, allocations: 362 kB / 473.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.7098, allocations: 0.6391 MB / 474.4 MB, free: 15.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.7124, allocations: 1.019 MB / 475.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.7175, allocations: 1.697 MB / 477.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/0.7175, allocations: 3.938 kB / 477.2 MB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007309/0.7249, allocations: 1.936 MB / 479.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.725, allocations: 12.56 kB / 479.1 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.725, allocations: 15.94 kB / 479.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.7257, allocations: 129.6 kB / 479.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.7285, allocations: 327.5 kB / 479.6 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.7339, allocations: 3.43 MB / 483 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.7364, allocations: 91.62 kB / 483.1 MB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.7368, allocations: 59.98 kB / 483.2 MB, free: 6.027 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.002775/0.7396, allocations: 0.8292 MB / 484 MB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/0.7404, allocations: 162.1 kB / 484.1 MB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/0.7456, allocations: 1.393 MB / 485.5 MB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.7456, allocations: 15.94 kB / 485.5 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.7457, allocations: 7.938 kB / 485.6 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.7457, allocations: 7.984 kB / 485.6 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009298/0.755, allocations: 2.434 MB / 488 MB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/0.7551, allocations: 4 kB / 488 MB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.7569, allocations: 192 kB / 488.2 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.7584, allocations: 254.2 kB / 488.4 MB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.7587, allocations: 35.97 kB / 488.5 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.7699, allocations: 6.246 MB / 494.7 MB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.77, allocations: 8.094 kB / 494.7 MB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007014/0.777, allocations: 2.559 MB / 497.3 MB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009936/0.7781, allocations: 247.2 kB / 497.5 MB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/0.7787, allocations: 31.94 kB / 497.6 MB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/0.7809, allocations: 95.89 kB / 497.7 MB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/0.7815, allocations: 96.16 kB / 497.7 MB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/0.7817, allocations: 32.11 kB / 497.8 MB, free: 6.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003423/0.7851, allocations: 1.135 MB / 498.9 MB, free: 5.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.7852, allocations: 4 kB / 498.9 MB, free: 5.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003661/0.7889, allocations: 452 kB / 499.4 MB, free: 5.227 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.0007252/0.7897, allocations: 160.1 kB / 499.5 MB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005885/0.7956, allocations: 1.712 MB / 0.4895 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.7957, allocations: 8.25 kB / 0.4895 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003512/0.7992, allocations: 1.168 MB / 0.4906 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.8028, allocations: 285 kB / 0.4909 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.8179, allocations: 4.622 MB / 0.4954 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008246/0.8263, allocations: 2.046 MB / 0.4974 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.8273, allocations: 115.4 kB / 0.4975 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8274, allocations: 0 / 0.4975 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Templates: time 0.4857/1.313, allocations: 57.66 MB / 0.5538 GB, free: 122.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches