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.001077/0.001077, allocations: 83.89 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.0009743/0.0009743, 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.8901/0.8901, allocations: 173.3 MB / 201.1 MB, free: 9.348 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.713e-06/1.713e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.677e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004961/0.004977, allocations: 5.886 MB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.007703, allocations: 2.037 MB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.008081, allocations: 51.62 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.008828, allocations: 405.4 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.01004, allocations: 0.5938 MB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.01033, allocations: 227.7 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.01195, allocations: 2.291 MB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.01296, allocations: 1.132 MB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.0149, allocations: 1.603 MB / 282.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.01613, allocations: 1.2 MB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.01647, allocations: 288 kB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.01692, allocations: 367.9 kB / 284.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.0176, allocations: 0.744 MB / 284.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.01825, allocations: 0.8615 MB / 285.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.01972, allocations: 2.037 MB / 287.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01972, allocations: 0 / 287.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01972, allocations: 0 / 287.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.01974, allocations: 4 kB / 287.7 MB, free: 2.629 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.002461/0.0222, allocations: 2.522 MB / 290.2 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.02223, allocations: 8.922 kB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09733/0.1196, allocations: 409.2 kB / 290.6 MB, free: 28.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.121, allocations: 1.197 MB / 291.8 MB, free: 28.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.1211, allocations: 132 kB / 292 MB, free: 28.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1213, allocations: 186.8 kB / 292.1 MB, free: 28.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.1233, allocations: 1.564 MB / 293.7 MB, free: 28.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.1233, allocations: 3.938 kB / 293.7 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/0.1234, allocations: 75.11 kB / 293.8 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/0.1235, allocations: 96.78 kB / 293.9 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1247, allocations: 0.6078 MB / 294.5 MB, free: 28.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.1303, allocations: 5.953 MB / 300.4 MB, free: 24.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.1309, allocations: 399.5 kB / 300.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.1312, allocations: 213 kB / 301 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1313, allocations: 39.73 kB / 301.1 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1314, allocations: 42.3 kB / 301.1 MB, free: 24.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.884e-06/0.1314, allocations: 0 / 301.1 MB, free: 24.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001598/0.133, allocations: 1.276 MB / 302.4 MB, free: 24.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.133, allocations: 88.19 kB / 302.5 MB, free: 23.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.1339, allocations: 1.18 MB / 303.7 MB, free: 23.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.134, allocations: 32.23 kB / 303.7 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.1343, allocations: 1.106 MB / 304.8 MB, free: 22.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1344, allocations: 212.2 kB / 305 MB, free: 22.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1346, allocations: 261.4 kB / 305.3 MB, free: 22.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.1347, allocations: 0.5522 MB / 305.8 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1349, allocations: 129.5 kB / 305.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.1352, allocations: 1.097 MB / 307 MB, free: 20.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.1359, allocations: 1.323 MB / 308.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1359, allocations: 7.594 kB / 308.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001053/0.137, allocations: 1.084 MB / 309.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.137, allocations: 16.5 kB / 309.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.137, allocations: 26.03 kB / 309.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.1374, allocations: 155.4 kB / 309.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.1378, allocations: 277.6 kB / 309.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00092/0.1387, allocations: 2.37 MB / 312.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.1391, allocations: 83.8 kB / 312.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.1392, allocations: 67.98 kB / 312.4 MB, free: 15.67 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.0002028/0.1394, allocations: 248 kB / 312.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1395, allocations: 143.2 kB / 312.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.14, allocations: 459.7 kB / 313.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.14, allocations: 8 kB / 313.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.14, allocations: 5.578 kB / 313.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.14, allocations: 0 / 313.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1416, allocations: 1.892 MB / 315.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1416, allocations: 7.25 kB / 315.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1417, allocations: 91.89 kB / 315.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/0.1421, allocations: 127.9 kB / 315.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1421, allocations: 12 kB / 315.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007866/0.1429, allocations: 2.326 MB / 317.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1429, allocations: 7.938 kB / 317.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.1435, allocations: 0.7944 MB / 318.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1436, allocations: 179.2 kB / 318.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.1437, allocations: 19.48 kB / 318.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.144, allocations: 48.03 kB / 318.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.144, allocations: 59.83 kB / 318.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1441, allocations: 20 kB / 318.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004647/0.1445, allocations: 0.6412 MB / 319.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1445, allocations: 0 / 319.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006655/0.1452, allocations: 347.9 kB / 319.8 MB, free: 7.984 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.0002831/0.1455, allocations: 191.8 kB / 320 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.1462, allocations: 0.7729 MB / 320.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1462, allocations: 4 kB / 320.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.1464, allocations: 394.3 kB / 321.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.1471, allocations: 264.6 kB / 321.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1496, allocations: 2.807 MB / 324.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1499, allocations: 0.5207 MB / 324.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.1502, allocations: 245.8 kB / 325 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1503, allocations: 84.48 kB / 325.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1503, allocations: 0 / 325.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of Templates: time 0.01909/0.1694, allocations: 16.45 MB / 341.5 MB, free: 2.449 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: 2.9527996382676065]