Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007787, allocations: 93.72 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 186.1 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002608, allocations: 4 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1016, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004715/0.1063, allocations: 4.238 MB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.1092, allocations: 1.655 MB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.1096, allocations: 27.88 kB / 357.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.1102, allocations: 210.9 kB / 358 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1121, allocations: 0.6457 MB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.1127, allocations: 210.9 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.1153, allocations: 2.151 MB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.1166, allocations: 1.082 MB / 362 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.1174, allocations: 0.5951 MB / 362.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009885/0.1184, allocations: 0.8441 MB / 363.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1185, allocations: 88 kB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.119, allocations: 215.8 kB / 363.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.1194, allocations: 410.5 kB / 364.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.1203, allocations: 0.7866 MB / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.1223, allocations: 2.414 MB / 367.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1223, allocations: 0 / 367.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1223, allocations: 0 / 367.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.1224, allocations: 0 / 367.4 MB, free: 4.07 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004154/0.1265, allocations: 1.918 MB / 369.3 MB, free: 2.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1266, allocations: 8.031 kB / 369.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1284, allocations: 366.6 kB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.13, allocations: 1.075 MB / 370.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.1301, allocations: 103 kB / 370.8 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.1304, allocations: 136.1 kB / 371 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2008/0.3312, allocations: 1.89 MB / 372.9 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3313, allocations: 0.8125 kB / 372.9 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.3314, allocations: 54.69 kB / 372.9 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.3315, allocations: 48.75 kB / 373 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.3346, allocations: 1.715 MB / 374.7 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009862/0.3445, allocations: 5.605 MB / 380.3 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3471, allocations: 2.915 MB / 383.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.3479, allocations: 0.5156 MB / 383.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.35, allocations: 1.526 MB / 385.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.35, allocations: 45.97 kB / 385.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.437e-06/0.35, allocations: 5.125 kB / 385.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003118/0.3531, allocations: 1.451 MB / 386.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3532, allocations: 91.42 kB / 386.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3544, allocations: 1.024 MB / 387.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.3544, allocations: 36.7 kB / 387.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.3547, allocations: 0.6792 MB / 388.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3548, allocations: 193.6 kB / 388.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.3549, allocations: 58.69 kB / 388.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.355, allocations: 333.8 kB / 389.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.3556, allocations: 372.7 kB / 389.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.3562, allocations: 0.5245 MB / 390 MB, free: 13.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3574, allocations: 0.9034 MB / 390.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3574, allocations: 4.828 kB / 390.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001456/0.3588, allocations: 1.037 MB / 392 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3589, allocations: 8.031 kB / 392 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3589, allocations: 7.688 kB / 392 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.3589, allocations: 11.38 kB / 392 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/0.3596, allocations: 187.3 kB / 392.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3597, allocations: 15.33 kB / 392.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.3602, allocations: 88.62 kB / 392.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.3602, allocations: 28.02 kB / 392.3 MB, free: 12.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000662/0.3609, allocations: 0.5269 MB / 392.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3611, allocations: 88.34 kB / 392.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.3623, allocations: 0.7005 MB / 393.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.3623, allocations: 6.031 kB / 393.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.3623, allocations: 7.562 kB / 393.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3623, allocations: 4 kB / 393.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3646, allocations: 1.667 MB / 395.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3647, allocations: 4.562 kB / 395.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.3651, allocations: 102.4 kB / 395.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003848/0.3655, allocations: 149.2 kB / 395.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.3655, allocations: 23.39 kB / 395.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.3679, allocations: 2.616 MB / 398.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3679, allocations: 0 / 398.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3698, allocations: 1.521 MB / 399.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.37, allocations: 188 kB / 399.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.3701, allocations: 12 kB / 399.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.3706, allocations: 75.92 kB / 400 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3707, allocations: 47.86 kB / 400 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3708, allocations: 16 kB / 400.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007568/0.3715, allocations: 0.7332 MB / 400.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3715, allocations: 0 / 400.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3726, allocations: 358.4 kB / 401.1 MB, free: 5.234 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.3728, allocations: 144 kB / 401.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3739, allocations: 0.7937 MB / 402.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.374, allocations: 4.656 kB / 402.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.3748, allocations: 0.6045 MB / 402.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3759, allocations: 171.5 kB / 402.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.3797, allocations: 3.482 MB / 406.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.3808, allocations: 1.499 MB / 407.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006716/0.3815, allocations: 238.7 kB / 408.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3817, allocations: 59.44 kB / 408.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3817, allocations: 0 / 408.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of Templates: time 0.01931/0.401, allocations: 10.9 MB / 419 MB, free: 3.402 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches