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.0007503/0.0007503, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001779, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0006873/0.0006873, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009592/0.001647, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9604/0.9604, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08455/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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 1.503e-06/1.503e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.949e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005477/0.005497, allocations: 6.445 MB / 251.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.009158, allocations: 2.346 MB / 253.5 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.009741, allocations: 51.69 kB / 253.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.01036, allocations: 385.4 kB / 253.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.01185, allocations: 0.8659 MB / 254.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.01244, allocations: 361.6 kB / 255.1 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.01496, allocations: 3.327 MB / 258.5 MB, free: 416 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.01601, allocations: 1.102 MB / 259.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.01814, allocations: 2.41 MB / 262 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.01984, allocations: 1.731 MB / 263.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.02044, allocations: 296 kB / 264 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.02111, allocations: 427.7 kB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.02154, allocations: 0.7012 MB / 265.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007879/0.02233, allocations: 0.8149 MB / 265.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.02428, allocations: 2.391 MB / 268.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.02429, allocations: 4 kB / 268.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02429, allocations: 0 / 268.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.914e-05/0.02437, allocations: 0 / 268.3 MB, free: 6.449 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.004143/0.02851, allocations: 3.766 MB / 272.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.02855, allocations: 11.98 kB / 272.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.03049, allocations: 0.8512 MB / 273 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.03169, allocations: 0.9906 MB / 273.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.03177, allocations: 173 kB / 274.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.03199, allocations: 232.4 kB / 274.3 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/0.1411, allocations: 1.932 MB / 276.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.1411, allocations: 5.281 kB / 276.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.1413, allocations: 91.12 kB / 276.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.1414, allocations: 73.44 kB / 276.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.1424, allocations: 0.5483 MB / 277 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/0.1494, allocations: 5.823 MB / 282.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1509, allocations: 0.9611 MB / 283.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1512, allocations: 240.7 kB / 284 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.1513, allocations: 59.19 kB / 284.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1513, allocations: 49.33 kB / 284.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=121): time 4.107e-06/0.1513, allocations: 3.984 kB / 284.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=129): time 0.003612/0.155, allocations: 1.972 MB / 286.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.155, allocations: 124.2 kB / 286.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.1558, allocations: 0.9894 MB / 287.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.1558, allocations: 48.89 kB / 287.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.1561, allocations: 0.906 MB / 288.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1563, allocations: 464.2 kB / 288.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.1565, allocations: 251.6 kB / 288.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.469e-05/0.1565, allocations: 307.5 kB / 289.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1567, allocations: 128.3 kB / 289.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.1569, allocations: 0.4961 MB / 289.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.1576, allocations: 0.8095 MB / 290.6 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1576, allocations: 3.406 kB / 290.6 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0008913/0.1585, allocations: 0.8096 MB / 291.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1585, allocations: 17.77 kB / 291.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1585, allocations: 13.44 kB / 291.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.1587, allocations: 88.92 kB / 291.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.1595, allocations: 459.3 kB / 292 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1606, allocations: 2.626 MB / 294.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.1611, allocations: 88.2 kB / 294.7 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.1611, allocations: 48.3 kB / 294.7 MB, free: 7.562 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (179): * Single equations (assignments): 177 * 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.0003062/0.1614, allocations: 202.8 kB / 294.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1616, allocations: 142.3 kB / 295.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.1623, allocations: 0.6984 MB / 295.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1623, allocations: 14.5 kB / 295.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.1623, allocations: 8.156 kB / 295.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1623, allocations: 7.781 kB / 295.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1644, allocations: 2.146 MB / 297.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1644, allocations: 5.25 kB / 297.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.1649, allocations: 293.8 kB / 298.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.165, allocations: 148.4 kB / 298.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.1654, allocations: 211.8 kB / 298.6 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.1654, allocations: 35.78 kB / 298.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.1672, allocations: 4.666 MB / 303.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1672, allocations: 0 / 303.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.1682, allocations: 1.299 MB / 304.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1684, allocations: 35.97 kB / 304.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.1687, allocations: 63.97 kB / 304.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.1689, allocations: 104.4 kB / 304.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1689, allocations: 27.98 kB / 304.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.1693, allocations: 0.4911 MB / 305.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1693, allocations: 0 / 305.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009422/0.1702, allocations: 475.9 kB / 305.8 MB, free: 14.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * 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 (105): * Single equations (assignments): 102 * 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,4,100.0%), (1,4,100.0%), (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.0002592/0.1705, allocations: 154.8 kB / 305.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.1715, allocations: 0.8845 MB / 306.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.302e-05/0.1715, allocations: 24.48 kB / 306.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.1722, allocations: 0.8532 MB / 307.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.1738, allocations: 2.714 MB / 310.4 MB, free: 9.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.1871, allocations: 4.057 MB / 314.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.1876, allocations: 0.6265 MB / 315.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006374/0.1883, allocations: 216.4 kB / 315.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/0.1888, allocations: 357.1 kB / 315.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1888, allocations: 0 / 315.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of Templates: time 0.03533/0.2242, allocations: 22.93 MB / 338.6 MB, free: 13.64 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.032032562419772]