Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 80.06 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9229/0.9229, allocations: 173.4 MB / 201.2 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.627e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005318/0.005344, allocations: 5.882 MB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.008239, allocations: 2.048 MB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.008695, allocations: 51.62 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.009493, allocations: 401.3 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.01061, allocations: 0.6016 MB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.01094, allocations: 215.7 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.01258, allocations: 2.298 MB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.01366, allocations: 1.135 MB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.01557, allocations: 1.607 MB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.0168, allocations: 1.185 MB / 283.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.01715, allocations: 284 kB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.01767, allocations: 367.8 kB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.01812, allocations: 0.748 MB / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.01892, allocations: 0.8732 MB / 285.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.02071, allocations: 2.033 MB / 287.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.02071, allocations: 0 / 287.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.02072, allocations: 0 / 287.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.846e-05/0.02075, allocations: 3.938 kB / 287.7 MB, free: 2.617 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003178/0.02393, allocations: 2.526 MB / 290.2 MB, free: 44 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.02398, allocations: 8.922 kB / 290.2 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1174/0.1414, allocations: 407.3 kB / 290.6 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.1433, allocations: 1.211 MB / 291.8 MB, free: 28.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.1434, allocations: 130.6 kB / 292 MB, free: 28.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.1437, allocations: 180.6 kB / 292.1 MB, free: 28.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.1466, allocations: 1.571 MB / 293.7 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.1466, allocations: 7.781 kB / 293.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1467, allocations: 72.17 kB / 293.8 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.1468, allocations: 97.48 kB / 293.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.1485, allocations: 0.6096 MB / 294.5 MB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0073/0.1558, allocations: 5.944 MB / 300.4 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.1564, allocations: 398.8 kB / 300.8 MB, free: 24.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.1568, allocations: 211.1 kB / 301 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.157, allocations: 38.38 kB / 301.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.157, allocations: 42.39 kB / 301.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 4.178e-06/0.157, allocations: 8.109 kB / 301.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002098/0.1591, allocations: 1.272 MB / 302.4 MB, free: 24.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1591, allocations: 89.31 kB / 302.5 MB, free: 23.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1602, allocations: 1.175 MB / 303.7 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1602, allocations: 37.83 kB / 303.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.1606, allocations: 1.103 MB / 304.8 MB, free: 22.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/0.1607, allocations: 214.9 kB / 305 MB, free: 22.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.1609, allocations: 263.8 kB / 305.3 MB, free: 22.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.161, allocations: 0.5494 MB / 305.8 MB, free: 21.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1612, allocations: 133.1 kB / 305.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.1617, allocations: 1.09 MB / 307 MB, free: 20.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.1625, allocations: 1.325 MB / 308.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.1625, allocations: 6.188 kB / 308.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001176/0.1637, allocations: 1.092 MB / 309.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1637, allocations: 15.53 kB / 309.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.1637, allocations: 26.84 kB / 309.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.1641, allocations: 145.5 kB / 309.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.1646, allocations: 288.6 kB / 309.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.1659, allocations: 2.357 MB / 312.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.1666, allocations: 87.78 kB / 312.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.1667, allocations: 72 kB / 312.4 MB, free: 15.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.167, allocations: 248 kB / 312.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.1672, allocations: 147.2 kB / 312.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.1678, allocations: 451.7 kB / 313.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1678, allocations: 4 kB / 313.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1678, allocations: 7.938 kB / 313.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1678, allocations: 0 / 313.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.1701, allocations: 1.896 MB / 315.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1701, allocations: 7.656 kB / 315.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.1703, allocations: 99.88 kB / 315.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.1707, allocations: 119.5 kB / 315.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.1708, allocations: 12 kB / 315.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1718, allocations: 2.324 MB / 317.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1718, allocations: 0 / 317.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.1727, allocations: 0.8053 MB / 318.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.1729, allocations: 183.1 kB / 318.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.173, allocations: 15.06 kB / 318.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.1734, allocations: 43.97 kB / 318.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.1735, allocations: 55.84 kB / 318.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.1735, allocations: 20.03 kB / 318.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006631/0.1742, allocations: 0.6451 MB / 319.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1742, allocations: 0 / 319.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001084/0.1752, allocations: 347.9 kB / 319.8 MB, free: 7.934 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003988/0.1756, allocations: 192.8 kB / 320 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000979/0.1766, allocations: 0.7687 MB / 320.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1766, allocations: 0 / 320.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.177, allocations: 397.1 kB / 321.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.1779, allocations: 273.2 kB / 321.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1816, allocations: 2.805 MB / 324.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.182, allocations: 0.5207 MB / 324.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.1825, allocations: 253.8 kB / 325 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.1826, allocations: 80.5 kB / 325.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1826, allocations: 0 / 325.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of Templates: time 0.02516/0.2078, allocations: 15.67 MB / 340.8 MB, free: 3.172 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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.2615301818586886]