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.001223/0.001223, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 61.16 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00772/0.1161, allocations: 6.634 MB / 365.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1206, allocations: 2.258 MB / 367.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.1213, allocations: 39.88 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.1223, allocations: 369.4 kB / 368.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.1244, allocations: 0.8316 MB / 369 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.1252, allocations: 366.8 kB / 369.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1721/0.2973, allocations: 3.185 MB / 372.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.3003, allocations: 2.006 MB / 374.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.3021, allocations: 1.294 MB / 375.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.3043, allocations: 1.626 MB / 377.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006011/0.3049, allocations: 294.2 kB / 377.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3059, allocations: 426.7 kB / 378.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.3067, allocations: 0.8487 MB / 379 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.3085, allocations: 1.464 MB / 380.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005069/0.3135, allocations: 4.099 MB / 384.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.3136, allocations: 1.188 kB / 384.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3136, allocations: 3.938 kB / 384.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.3137, allocations: 0 / 384.6 MB, free: 7.406 MB / 302.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.008536/0.3223, allocations: 3.484 MB / 388.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3223, allocations: 9.688 kB / 388.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004178/0.3265, allocations: 0.7551 MB / 388.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.3298, allocations: 1.721 MB / 390.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.33, allocations: 170 kB / 390.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.3303, allocations: 233.6 kB / 391 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.335, allocations: 3.203 MB / 394.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.3351, allocations: 1.812 kB / 394.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.3353, allocations: 95.19 kB / 394.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/0.3354, allocations: 72.8 kB / 394.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.3392, allocations: 2.862 MB / 397.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.3543, allocations: 9.144 MB / 406.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004986/0.3594, allocations: 4.386 MB / 410.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.3605, allocations: 0.8106 MB / 411.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004433/0.365, allocations: 3.146 MB / 414.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.365, allocations: 45.52 kB / 414.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.365, allocations: 4 kB / 414.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.007367/0.3724, allocations: 4.202 MB / 418.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3725, allocations: 115.2 kB / 419.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.3747, allocations: 1.621 MB / 420.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.3748, allocations: 41.7 kB / 420.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008378/0.3756, allocations: 1.113 MB / 421.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.3759, allocations: 360.2 kB / 422.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.3763, allocations: 238.8 kB / 422.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3764, allocations: 357.9 kB / 422.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009983/0.3774, allocations: 0.6349 MB / 423.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.3787, allocations: 1.017 MB / 424.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.381, allocations: 1.698 MB / 426.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.381, allocations: 4 kB / 426.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003198/0.3842, allocations: 1.939 MB / 428.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3843, allocations: 14.64 kB / 428.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.3843, allocations: 12 kB / 428.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.3846, allocations: 125.6 kB / 428.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3859, allocations: 333.8 kB / 428.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.3886, allocations: 3.425 MB / 432 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3898, allocations: 103.5 kB / 432.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.3899, allocations: 52 kB / 432.1 MB, free: 13.63 MB / 350.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.001393/0.3913, allocations: 0.8314 MB / 432.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.3916, allocations: 153.7 kB / 433.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.3939, allocations: 1.392 MB / 434.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.394, allocations: 12 kB / 434.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.394, allocations: 4.188 kB / 434.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.394, allocations: 8.203 kB / 434.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.3979, allocations: 2.456 MB / 437 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3979, allocations: 4.094 kB / 437 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.3987, allocations: 186.8 kB / 437.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000611/0.3993, allocations: 266.2 kB / 437.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.3994, allocations: 31.97 kB / 437.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/0.4048, allocations: 6.244 MB / 443.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4048, allocations: 192 / 443.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.4086, allocations: 2.544 MB / 446.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.4091, allocations: 267 kB / 446.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4093, allocations: 24 kB / 446.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.4102, allocations: 99.83 kB / 446.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.4104, allocations: 91.77 kB / 446.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.4105, allocations: 31.98 kB / 446.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.4121, allocations: 1.139 MB / 447.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4121, allocations: 0 / 447.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001593/0.4137, allocations: 440 kB / 448.3 MB, free: 12.96 MB / 366.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.0003007/0.414, allocations: 162 kB / 448.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.4166, allocations: 1.727 MB / 450.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4167, allocations: 0 / 450.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.4184, allocations: 1.172 MB / 451.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4197, allocations: 284.3 kB / 451.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.4264, allocations: 4.656 MB / 456.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4281, allocations: 2.109 MB / 458.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.4291, allocations: 451.6 kB / 458.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.4294, allocations: 99.41 kB / 458.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4294, allocations: 4 kB / 458.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of Templates: time 0.03374/0.4632, allocations: 19.55 MB / 478.5 MB, free: 14.94 MB / 398.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 -s cvode -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