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.001062/0.001062, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 56.5 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09488, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007219/0.1022, allocations: 6.642 MB / 365.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1059, allocations: 2.25 MB / 367.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.1064, allocations: 47.81 kB / 367.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.1072, allocations: 365.5 kB / 368.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.109, allocations: 0.8346 MB / 369 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.1098, allocations: 363.2 kB / 369.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1511/0.2609, allocations: 3.181 MB / 372.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.2631, allocations: 2.002 MB / 374.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.2646, allocations: 1.299 MB / 375.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.2665, allocations: 1.622 MB / 377.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.267, allocations: 294.2 kB / 377.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.2679, allocations: 429.3 kB / 378.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006254/0.2685, allocations: 0.849 MB / 379 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.2699, allocations: 1.471 MB / 380.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.274, allocations: 4.106 MB / 384.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2741, allocations: 1.219 kB / 384.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2741, allocations: 0 / 384.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.2742, allocations: 0 / 384.6 MB, free: 7.371 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.00832/0.2825, allocations: 3.482 MB / 388.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2826, allocations: 8 kB / 388.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.2869, allocations: 0.7599 MB / 388.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.2905, allocations: 1.715 MB / 390.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.2906, allocations: 178.6 kB / 390.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/0.2911, allocations: 226.7 kB / 391 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.296, allocations: 3.208 MB / 394.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.2961, allocations: 0 / 394.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.2963, allocations: 90.09 kB / 394.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.2963, allocations: 72.12 kB / 394.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.3005, allocations: 2.86 MB / 397.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3148, allocations: 9.142 MB / 406.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.3194, allocations: 4.386 MB / 410.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.3206, allocations: 0.806 MB / 411.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004372/0.325, allocations: 3.156 MB / 414.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.325, allocations: 46.89 kB / 414.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.265e-06/0.325, allocations: 0 / 414.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.007446/0.3325, allocations: 4.203 MB / 419 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3326, allocations: 115.2 kB / 419.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.3347, allocations: 1.621 MB / 420.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.3348, allocations: 41.7 kB / 420.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.3355, allocations: 1.113 MB / 421.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.3357, allocations: 357.5 kB / 422.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.3361, allocations: 238.8 kB / 422.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3362, allocations: 357.9 kB / 422.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3372, allocations: 0.6391 MB / 423.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.3385, allocations: 1.014 MB / 424.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.3407, allocations: 1.695 MB / 426.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3407, allocations: 7.938 kB / 426.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003057/0.3438, allocations: 1.942 MB / 428.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3438, allocations: 12 kB / 428.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3438, allocations: 12 kB / 428.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.3442, allocations: 130.1 kB / 428.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.3455, allocations: 325.9 kB / 428.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.3483, allocations: 3.428 MB / 432 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/0.3493, allocations: 103.6 kB / 432.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.3494, allocations: 56 kB / 432.1 MB, free: 13.68 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.00123/0.3506, allocations: 0.8275 MB / 433 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.3509, allocations: 150.2 kB / 433.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.3533, allocations: 1.397 MB / 434.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3533, allocations: 12 kB / 434.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3534, allocations: 4 kB / 434.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3534, allocations: 7.922 kB / 434.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.357, allocations: 2.451 MB / 437 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3571, allocations: 8 kB / 437 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.3579, allocations: 179.8 kB / 437.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/0.3585, allocations: 262.2 kB / 437.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.3586, allocations: 35.97 kB / 437.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005548/0.3641, allocations: 6.253 MB / 443.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3641, allocations: 8.016 kB / 443.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/0.3678, allocations: 2.547 MB / 446.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.3682, allocations: 251.2 kB / 446.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.3685, allocations: 32 kB / 446.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.3693, allocations: 102.5 kB / 446.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.3695, allocations: 88.3 kB / 446.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.3696, allocations: 35.98 kB / 446.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.3711, allocations: 1.128 MB / 447.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.3711, allocations: 0 / 447.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001422/0.3725, allocations: 451.9 kB / 448.3 MB, free: 13.01 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.0002713/0.3728, allocations: 162.7 kB / 448.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.3755, allocations: 1.723 MB / 450.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3755, allocations: 0 / 450.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.3772, allocations: 1.17 MB / 451.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.3786, allocations: 285.4 kB / 451.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.3852, allocations: 4.666 MB / 456.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.3869, allocations: 2.101 MB / 458.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.3879, allocations: 455.5 kB / 458.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.3882, allocations: 107.4 kB / 459 MB, free: 2.297 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3882, allocations: 0 / 459 MB, free: 2.297 MB / 366.1 MB Notification: Performance of Templates: time 0.03266/0.4209, allocations: 19.54 MB / 478.5 MB, free: 14.99 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 gbode -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