Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9934/0.9934, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 4 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.198e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009038/0.00907, allocations: 6.511 MB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005881/0.01495, allocations: 2.242 MB / 281.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.01641, allocations: 55.62 kB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.01758, allocations: 381.3 kB / 282.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.02019, allocations: 0.8737 MB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.02089, allocations: 363.2 kB / 283.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.02403, allocations: 3.298 MB / 286.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.02529, allocations: 1.082 MB / 287.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.02743, allocations: 1.891 MB / 289.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1261/0.1535, allocations: 1.609 MB / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008578/0.1543, allocations: 294.5 kB / 291.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.1554, allocations: 421.3 kB / 292 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000669/0.1561, allocations: 0.8949 MB / 292.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.1578, allocations: 1.018 MB / 293.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.161, allocations: 2.588 MB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.161, allocations: 0.6094 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.161, allocations: 0.5938 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.1611, allocations: 0.5312 kB / 296.5 MB, free: 16.46 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.006356/0.1675, allocations: 3.691 MB / 300.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1675, allocations: 9.219 kB / 300.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.172, allocations: 1.039 MB / 301.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.1751, allocations: 1.497 MB / 302.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.1752, allocations: 174.7 kB / 302.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.1757, allocations: 228.6 kB / 303.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004382/0.18, allocations: 2.029 MB / 305.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.1801, allocations: 0 / 305.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.1803, allocations: 100.6 kB / 305.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.1804, allocations: 73.69 kB / 305.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.183, allocations: 0.8515 MB / 306.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.1941, allocations: 7.23 MB / 313.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.1967, allocations: 1.26 MB / 314.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.1973, allocations: 328.9 kB / 315 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/0.2003, allocations: 1.922 MB / 316.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.2004, allocations: 47.78 kB / 316.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 3.857e-06/0.2004, allocations: 0 / 316.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.005513/0.2059, allocations: 2.775 MB / 319.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2059, allocations: 111.3 kB / 319.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.2077, allocations: 1.348 MB / 321.2 MB, free: 120 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.2078, allocations: 41.7 kB / 321.2 MB, free: 72 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/0.2087, allocations: 1.25 MB / 322.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.2091, allocations: 392.5 kB / 322.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.2095, allocations: 264.5 kB / 323.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.2097, allocations: 0.5628 MB / 323.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.2102, allocations: 166.5 kB / 323.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008187/0.211, allocations: 0.7237 MB / 324.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2124, allocations: 0.9804 MB / 325.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.2124, allocations: 4 kB / 325.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002098/0.2145, allocations: 1.058 MB / 326.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2145, allocations: 12 kB / 326.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.2145, allocations: 12 kB / 326.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.2149, allocations: 103.5 kB / 326.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2159, allocations: 325.5 kB / 327 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.2189, allocations: 3.794 MB / 330.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.2198, allocations: 87.69 kB / 330.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.2199, allocations: 60.05 kB / 331 MB, free: 5.777 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.0009583/0.2209, allocations: 243.5 kB / 331.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.2212, allocations: 187 kB / 331.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.2228, allocations: 0.7752 MB / 332.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.2228, allocations: 8 kB / 332.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.2228, allocations: 8 kB / 332.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2228, allocations: 6.922 kB / 332.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.2256, allocations: 1.938 MB / 334.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.2256, allocations: 7.984 kB / 334.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.226, allocations: 175.4 kB / 334.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.2265, allocations: 241.2 kB / 334.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.2265, allocations: 35.97 kB / 334.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003805/0.2303, allocations: 6.442 MB / 341 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2303, allocations: 0 / 341 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2319, allocations: 1.419 MB / 342.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.2321, allocations: 166.9 kB / 342.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2322, allocations: 35.92 kB / 342.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.2328, allocations: 87.89 kB / 342.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.233, allocations: 107.7 kB / 342.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.233, allocations: 31.98 kB / 342.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007725/0.2338, allocations: 0.7519 MB / 343.6 MB, free: 8.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2338, allocations: 0 / 343.6 MB, free: 8.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00122/0.235, allocations: 455.9 kB / 344.1 MB, free: 8.293 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.0002776/0.2353, allocations: 153.8 kB / 344.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2366, allocations: 1.027 MB / 345.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2366, allocations: 4 kB / 345.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008179/0.2374, allocations: 0.956 MB / 346.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.2383, allocations: 275.3 kB / 346.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.2435, allocations: 3.905 MB / 350.4 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.2441, allocations: 0.725 MB / 351.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006054/0.2447, allocations: 359.2 kB / 351.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2449, allocations: 104.5 kB / 351.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2449, allocations: 0 / 351.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Templates: time 0.02566/0.2705, allocations: 19.3 MB / 370.8 MB, free: 13.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5670200269669294]