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.001471/0.001471, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.09 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2369, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00703/0.244, allocations: 6.647 MB / 415.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.2475, allocations: 2.254 MB / 418.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.2479, allocations: 47.81 kB / 418.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.2487, allocations: 373.5 kB / 418.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.2504, allocations: 0.8433 MB / 419.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.251, allocations: 359.2 kB / 419.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.254, allocations: 3.187 MB / 422.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.2559, allocations: 2.007 MB / 424.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.2573, allocations: 1.304 MB / 426.3 MB, free: 500 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.259, allocations: 1.623 MB / 427.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.2593, allocations: 292 kB / 428.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.26, allocations: 431.9 kB / 428.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.2607, allocations: 0.8529 MB / 429.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.2621, allocations: 1.466 MB / 430.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.2655, allocations: 4.102 MB / 435 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2655, allocations: 0 / 435 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2655, allocations: 0 / 435 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.2655, allocations: 0 / 435 MB, free: 7.715 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.006832/0.2724, allocations: 3.478 MB / 438.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2724, allocations: 12.03 kB / 438.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/0.2765, allocations: 0.7625 MB / 439.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.2792, allocations: 1.723 MB / 441 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.2794, allocations: 169 kB / 441.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.2797, allocations: 236.1 kB / 441.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.2846, allocations: 3.195 MB / 444.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.2847, allocations: 4 kB / 444.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.2849, allocations: 95.98 kB / 444.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.285, allocations: 69.98 kB / 444.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.2895, allocations: 2.866 MB / 447.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.3022, allocations: 9.145 MB / 456.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.3066, allocations: 4.374 MB / 461.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3077, allocations: 0.8054 MB / 461.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003641/0.3113, allocations: 3.138 MB / 465.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3114, allocations: 50.81 kB / 465.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.636e-06/0.3114, allocations: 3.984 kB / 465.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.006937/0.3183, allocations: 4.21 MB / 469.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3184, allocations: 115.2 kB / 469.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.3203, allocations: 1.621 MB / 471.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.3204, allocations: 41.7 kB / 471.1 MB, free: 2.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.321, allocations: 1.114 MB / 472.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.3213, allocations: 354.9 kB / 472.6 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.3216, allocations: 246.7 kB / 472.8 MB, free: 308 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3218, allocations: 357.9 kB / 473.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.3227, allocations: 0.6388 MB / 473.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.3239, allocations: 1.015 MB / 474.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.3261, allocations: 1.689 MB / 476.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3261, allocations: 4 kB / 476.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002982/0.3291, allocations: 1.94 MB / 478.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3291, allocations: 8 kB / 478.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.3291, allocations: 16.22 kB / 478.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3295, allocations: 126.2 kB / 478.6 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3307, allocations: 331.5 kB / 478.9 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.3335, allocations: 3.426 MB / 482.3 MB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.3344, allocations: 99.69 kB / 482.4 MB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.3345, allocations: 59.98 kB / 482.5 MB, free: 5.984 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.001164/0.3357, allocations: 0.8292 MB / 483.3 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.3359, allocations: 154.1 kB / 483.5 MB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.3383, allocations: 1.401 MB / 484.9 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3383, allocations: 8 kB / 484.9 MB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.3383, allocations: 7.938 kB / 484.9 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3383, allocations: 11.97 kB / 484.9 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.3418, allocations: 2.438 MB / 487.3 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3419, allocations: 0 / 487.3 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.3426, allocations: 188 kB / 487.5 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006233/0.3433, allocations: 262.2 kB / 487.8 MB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-05/0.3434, allocations: 35.97 kB / 487.8 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.3488, allocations: 6.254 MB / 494.1 MB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3488, allocations: 4 kB / 494.1 MB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.3524, allocations: 2.553 MB / 496.6 MB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.3528, allocations: 251.2 kB / 496.9 MB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.353, allocations: 31.92 kB / 496.9 MB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/0.3538, allocations: 95.91 kB / 497 MB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.354, allocations: 96.09 kB / 497.1 MB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3541, allocations: 36.11 kB / 497.1 MB, free: 6.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.3555, allocations: 1.132 MB / 498.3 MB, free: 5.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3555, allocations: 0 / 498.3 MB, free: 5.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00143/0.357, allocations: 452 kB / 498.7 MB, free: 5.188 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.0003137/0.3573, allocations: 159.6 kB / 498.9 MB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.3599, allocations: 1.713 MB / 0.4888 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3599, allocations: 4 kB / 0.4888 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.3617, allocations: 1.172 MB / 0.49 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.363, allocations: 282.8 kB / 0.4903 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.3699, allocations: 4.655 MB / 0.4948 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.3715, allocations: 2.101 MB / 0.4969 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001101/0.3726, allocations: 463.5 kB / 0.4973 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.3729, allocations: 103.4 kB / 0.4974 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3729, allocations: 0 / 0.4974 GB, free: 10.39 MB / 430.1 MB Notification: Performance of Templates: time 0.03194/0.4048, allocations: 19.96 MB / 0.5169 GB, free: 6.613 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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