Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.0009901/0.0009901, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009792/0.0009792, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.634e-05, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005441/0.005468, allocations: 5.861 MB / 278.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.007945, allocations: 2.099 MB / 281 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.008255, allocations: 55.62 kB / 281.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.008949, allocations: 401.4 kB / 281.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008546/0.009803, allocations: 0.5977 MB / 282.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.01008, allocations: 235.6 kB / 282.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.0115, allocations: 2.302 MB / 284.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009849/0.01248, allocations: 1.135 MB / 285.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.01409, allocations: 1.623 MB / 287.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009895/0.01508, allocations: 1.189 MB / 288.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.01531, allocations: 288 kB / 288.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.01569, allocations: 371.8 kB / 289.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.0161, allocations: 0.748 MB / 289.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1048/0.1209, allocations: 0.872 MB / 290.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.124, allocations: 2.027 MB / 292.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.124, allocations: 1.688 kB / 292.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.124, allocations: 0 / 292.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.172e-05/0.1241, allocations: 0.5312 kB / 292.8 MB, free: 18.17 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.004046/0.1281, allocations: 2.537 MB / 295.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1282, allocations: 13.42 kB / 295.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.1291, allocations: 431.4 kB / 295.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.1306, allocations: 1.231 MB / 297 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.1307, allocations: 133.8 kB / 297.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1309, allocations: 183 kB / 297.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.1334, allocations: 1.566 MB / 298.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1334, allocations: 3.938 kB / 298.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.1335, allocations: 72.47 kB / 299 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.967e-05/0.1336, allocations: 98.09 kB / 299.1 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1351, allocations: 0.6109 MB / 299.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.1412, allocations: 5.946 MB / 305.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.1419, allocations: 407.8 kB / 306 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.1422, allocations: 214.6 kB / 306.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.1423, allocations: 36.66 kB / 306.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1423, allocations: 47.41 kB / 306.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.395e-06/0.1423, allocations: 0 / 306.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001942/0.1443, allocations: 1.281 MB / 307.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1443, allocations: 84.2 kB / 307.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/0.1453, allocations: 1.186 MB / 308.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1453, allocations: 40.89 kB / 308.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.1457, allocations: 1.103 MB / 310 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.292e-05/0.1457, allocations: 206 kB / 310.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.1459, allocations: 271 kB / 310.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.146, allocations: 0.5471 MB / 311 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1462, allocations: 132.1 kB / 311.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.1467, allocations: 1.094 MB / 312.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.1474, allocations: 1.326 MB / 313.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1474, allocations: 7.031 kB / 313.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001164/0.1486, allocations: 1.089 MB / 314.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1486, allocations: 13.28 kB / 314.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1486, allocations: 24.53 kB / 314.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.149, allocations: 147.1 kB / 314.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.1495, allocations: 280.7 kB / 315.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.1505, allocations: 2.375 MB / 317.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.1511, allocations: 79.8 kB / 317.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.1511, allocations: 71.98 kB / 317.7 MB, free: 3.727 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.000323/0.1514, allocations: 242.5 kB / 317.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.1516, allocations: 151.2 kB / 318.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.1521, allocations: 450 kB / 318.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1521, allocations: 7.984 kB / 318.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1521, allocations: 3.938 kB / 318.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1521, allocations: 4 kB / 318.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.1539, allocations: 1.907 MB / 320.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1539, allocations: 4 kB / 320.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1541, allocations: 91.77 kB / 320.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.1544, allocations: 131 kB / 320.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1544, allocations: 14.73 kB / 320.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.1556, allocations: 2.329 MB / 323 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1556, allocations: 3.188 kB / 323 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.1564, allocations: 0.7905 MB / 323.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.1567, allocations: 183.2 kB / 323.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.1567, allocations: 19.98 kB / 324 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.157, allocations: 43.97 kB / 324 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.1571, allocations: 55.8 kB / 324.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.1571, allocations: 19.98 kB / 324.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006509/0.1578, allocations: 0.6455 MB / 324.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1578, allocations: 8 kB / 324.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001054/0.1588, allocations: 343.9 kB / 325.1 MB, free: 12.12 MB / 282.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.0003722/0.1592, allocations: 188.2 kB / 325.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.1602, allocations: 0.7762 MB / 326 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1602, allocations: 192 / 326 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.1606, allocations: 398.6 kB / 326.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.1613, allocations: 269.8 kB / 326.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.1651, allocations: 2.801 MB / 329.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1655, allocations: 0.5234 MB / 330 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.166, allocations: 258.5 kB / 330.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1661, allocations: 88.5 kB / 330.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1661, allocations: 0 / 330.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Templates: time 0.02115/0.1873, allocations: 15.66 MB / 346 MB, free: 7.383 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.099535988876596]