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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009346/0.0009346, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009311/0.0009311, allocations: 168.7 kB / 24.91 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.83/0.83, allocations: 177 MB / 205.2 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 273.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.245e-05, allocations: 4.281 kB / 273.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004716/0.004728, allocations: 6.371 MB / 279.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.007874, allocations: 2.321 MB / 282.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.008319, allocations: 55.62 kB / 282.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.008888, allocations: 393.3 kB / 282.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.01025, allocations: 0.8815 MB / 283.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.01075, allocations: 363.2 kB / 283.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.01285, allocations: 3.319 MB / 287.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.01369, allocations: 1.109 MB / 288.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.0151, allocations: 2.214 MB / 290.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.01633, allocations: 1.746 MB / 292.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.01657, allocations: 292 kB / 292.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.01701, allocations: 415.7 kB / 292.8 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.01747, allocations: 0.8957 MB / 293.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006487/0.01812, allocations: 1.017 MB / 294.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.01975, allocations: 2.574 MB / 297.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01975, allocations: 4 kB / 297.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01975, allocations: 0 / 297.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.01977, allocations: 0 / 297.3 MB, free: 12.23 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.003222/0.02299, allocations: 3.164 MB / 300.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.02301, allocations: 8.031 kB / 300.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.02487, allocations: 0.8512 MB / 301.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.02595, allocations: 0.9906 MB / 302.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.02605, allocations: 169 kB / 302.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.02626, allocations: 228.4 kB / 302.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.02794, allocations: 1.941 MB / 304.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.02798, allocations: 7.938 kB / 304.7 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.02812, allocations: 96 kB / 304.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.02817, allocations: 83.28 kB / 304.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.02898, allocations: 0.5555 MB / 305.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.0345, allocations: 5.807 MB / 311.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.03579, allocations: 0.9766 MB / 312.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.03602, allocations: 242.6 kB / 312.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.03755, allocations: 1.449 MB / 313.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.03758, allocations: 46.88 kB / 313.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 2.114e-06/0.03758, allocations: 0 / 313.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.002316/0.0399, allocations: 1.56 MB / 315.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.03994, allocations: 123.2 kB / 315.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.04061, allocations: 0.9998 MB / 316.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.04066, allocations: 45.7 kB / 316.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.041, allocations: 0.9477 MB / 317.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.04117, allocations: 368.8 kB / 317.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.04137, allocations: 222.7 kB / 318.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.04145, allocations: 361.8 kB / 318.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.04161, allocations: 114.5 kB / 318.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.04192, allocations: 0.4885 MB / 319.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.0425, allocations: 0.7558 MB / 319.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.0425, allocations: 4 kB / 319.9 MB, free: 4.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0008048/0.04331, allocations: 0.7461 MB / 320.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.04332, allocations: 12 kB / 320.6 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.04333, allocations: 8 kB / 320.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.04351, allocations: 90.28 kB / 320.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.04409, allocations: 307.5 kB / 321 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.04532, allocations: 2.625 MB / 323.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.04567, allocations: 71.8 kB / 323.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.04573, allocations: 47.98 kB / 323.8 MB, free: 0.5273 MB / 298.7 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.0002627/0.04599, allocations: 196.2 kB / 324 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.04613, allocations: 123.9 kB / 324.1 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/0.04686, allocations: 0.6216 MB / 324.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.04686, allocations: 12 kB / 324.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.04687, allocations: 4 kB / 324.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.04687, allocations: 7.984 kB / 324.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.04809, allocations: 1.15 MB / 325.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.04809, allocations: 4 kB / 325.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.04846, allocations: 163.8 kB / 326 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.04882, allocations: 216.5 kB / 326.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.04886, allocations: 27.98 kB / 326.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.05112, allocations: 4.654 MB / 330.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.05112, allocations: 0 / 330.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/0.05206, allocations: 1.024 MB / 332 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.0522, allocations: 146.9 kB / 332.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.05231, allocations: 31.98 kB / 332.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.05265, allocations: 55.97 kB / 332.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.05276, allocations: 80.34 kB / 332.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.0528, allocations: 31.97 kB / 332.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.05316, allocations: 0.4938 MB / 332.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05316, allocations: 0 / 332.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007236/0.05389, allocations: 455.9 kB / 333.2 MB, free: 6.641 MB / 314.7 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.0001923/0.05408, allocations: 136.2 kB / 333.4 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007491/0.05483, allocations: 0.7924 MB / 334.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.05485, allocations: 20.56 kB / 334.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.05542, allocations: 0.726 MB / 334.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.05613, allocations: 273.5 kB / 335.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.05948, allocations: 3.668 MB / 338.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.0599, allocations: 0.5966 MB / 339.4 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004689/0.06037, allocations: 191.5 kB / 339.6 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.06088, allocations: 329.1 kB / 340 MB, free: 15.75 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.06088, allocations: 0 / 340 MB, free: 15.75 MB / 330.7 MB Notification: Performance of Templates: time 0.1066/0.1675, allocations: 20.31 MB / 360.3 MB, free: 69.94 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.902216527145356]