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.001013/0.001013, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001075/0.001075, allocations: 165 kB / 24.99 MB, free: 8.801 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.9923/0.9923, allocations: 177 MB / 205.2 MB, free: 5.598 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.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.907e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005392/0.005411, allocations: 6.511 MB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.008933, allocations: 2.234 MB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.00955, allocations: 51.69 kB / 281.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.01025, allocations: 385.3 kB / 282.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01186, allocations: 0.8738 MB / 283.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.01246, allocations: 363.1 kB / 283.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.01513, allocations: 3.288 MB / 286.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.01617, allocations: 1.086 MB / 287.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.01792, allocations: 1.91 MB / 289.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0999/0.1178, allocations: 1.601 MB / 291.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008197/0.1186, allocations: 295 kB / 291.6 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009678/0.1196, allocations: 425 kB / 292 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.1202, allocations: 0.8998 MB / 292.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.1221, allocations: 1.019 MB / 293.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.1258, allocations: 2.59 MB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1258, allocations: 0.5938 kB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1258, allocations: 1.188 kB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001657/0.1259, allocations: 0.8438 kB / 296.5 MB, free: 16.25 MB / 266.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.006772/0.1327, allocations: 3.702 MB / 300.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1328, allocations: 12.31 kB / 300.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.1356, allocations: 1.038 MB / 301.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.1376, allocations: 1.487 MB / 302.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.1377, allocations: 176.1 kB / 302.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.138, allocations: 238 kB / 303.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.1406, allocations: 2.04 MB / 305.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.1406, allocations: 0 / 305.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.1408, allocations: 95.16 kB / 305.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.1408, allocations: 87.47 kB / 305.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1423, allocations: 0.8494 MB / 306.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00715/0.1495, allocations: 7.254 MB / 313.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.1512, allocations: 1.261 MB / 314.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.1515, allocations: 319.6 kB / 315 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/0.1533, allocations: 1.919 MB / 317 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1533, allocations: 58.66 kB / 317 MB, free: 4.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.775e-06/0.1533, allocations: 0 / 317 MB, free: 4.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003197/0.1565, allocations: 2.76 MB / 319.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1565, allocations: 127.2 kB / 319.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1575, allocations: 1.341 MB / 321.2 MB, free: 80 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.1576, allocations: 45.7 kB / 321.3 MB, free: 28 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.1582, allocations: 1.252 MB / 322.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.1584, allocations: 390.3 kB / 322.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.1587, allocations: 268.5 kB / 323.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1589, allocations: 0.559 MB / 323.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1592, allocations: 166.5 kB / 323.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.1597, allocations: 0.7166 MB / 324.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.1606, allocations: 0.9891 MB / 325.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1607, allocations: 4 kB / 325.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001344/0.162, allocations: 1.053 MB / 326.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.162, allocations: 12 kB / 326.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.162, allocations: 15.98 kB / 326.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.1623, allocations: 110.3 kB / 326.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.163, allocations: 325.3 kB / 327.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.1648, allocations: 3.794 MB / 330.9 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.1653, allocations: 87.69 kB / 331 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.1653, allocations: 67.91 kB / 331.1 MB, free: 5.723 MB / 282.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.0004444/0.1658, allocations: 238.2 kB / 331.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.166, allocations: 183.1 kB / 331.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.167, allocations: 0.7773 MB / 332.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.167, allocations: 12 kB / 332.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.167, allocations: 4 kB / 332.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.167, allocations: 7.297 kB / 332.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.169, allocations: 1.944 MB / 334.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.169, allocations: 0 / 334.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1694, allocations: 179.1 kB / 334.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.1699, allocations: 237.3 kB / 334.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.17, allocations: 35.97 kB / 334.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/0.1732, allocations: 6.438 MB / 341.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1732, allocations: 0 / 341.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.1747, allocations: 1.42 MB / 342.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1748, allocations: 174.9 kB / 342.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.1749, allocations: 27.98 kB / 342.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.1754, allocations: 83.91 kB / 342.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.1755, allocations: 111.4 kB / 342.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.1756, allocations: 27.98 kB / 342.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007251/0.1763, allocations: 0.7597 MB / 343.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1763, allocations: 0 / 343.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001026/0.1773, allocations: 447.9 kB / 344.1 MB, free: 8.25 MB / 298.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.0002493/0.1776, allocations: 164.9 kB / 344.3 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1787, allocations: 1.023 MB / 345.3 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1787, allocations: 0 / 345.3 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.1795, allocations: 0.9606 MB / 346.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.1804, allocations: 273 kB / 346.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.1849, allocations: 3.929 MB / 350.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.1854, allocations: 0.7176 MB / 351.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005833/0.186, allocations: 363.2 kB / 351.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1862, allocations: 100.5 kB / 351.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1862, allocations: 0 / 351.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of Templates: time 0.02367/0.2098, allocations: 19.3 MB / 370.9 MB, free: 13.68 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: 3.365378381917253]