Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009433/0.0009433, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009262/0.0009262, allocations: 164.9 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8927/0.8927, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.129e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004977/0.004998, allocations: 5.795 MB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.007712, allocations: 2.172 MB / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.00816, allocations: 55.62 kB / 281.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.00876, allocations: 405.3 kB / 281.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.009609, allocations: 0.6055 MB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.009883, allocations: 235.6 kB / 282.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.01134, allocations: 2.334 MB / 285 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.01252, allocations: 1.166 MB / 286.1 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.01423, allocations: 1.632 MB / 287.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.01532, allocations: 1.204 MB / 289 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.01557, allocations: 288 kB / 289.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.01598, allocations: 375.8 kB / 289.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.0164, allocations: 0.7635 MB / 290.4 MB, free: 100 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09762/0.114, allocations: 0.86 MB / 291.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.1167, allocations: 2.051 MB / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1168, allocations: 0 / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1168, allocations: 0 / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.1169, allocations: 1.219 kB / 293.3 MB, free: 17.89 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.003875/0.1207, allocations: 2.248 MB / 295.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1208, allocations: 14.52 kB / 295.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.1216, allocations: 364.9 kB / 295.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1228, allocations: 0.8211 MB / 296.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.1229, allocations: 131.8 kB / 296.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.1231, allocations: 177.7 kB / 297 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.1257, allocations: 1.501 MB / 298.5 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.1258, allocations: 0 / 298.5 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.1259, allocations: 77.19 kB / 298.6 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.126, allocations: 111.4 kB / 298.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.1269, allocations: 0.5035 MB / 299.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/0.1328, allocations: 4.822 MB / 304 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.1333, allocations: 377.2 kB / 304.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1335, allocations: 164.6 kB / 304.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.1336, allocations: 36.98 kB / 304.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1336, allocations: 43.12 kB / 304.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.896e-06/0.1336, allocations: 0 / 304.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001763/0.1354, allocations: 0.8847 MB / 305.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.1354, allocations: 81.45 kB / 305.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.136, allocations: 0.9318 MB / 306.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1361, allocations: 36.64 kB / 306.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1363, allocations: 0.917 MB / 307.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.1364, allocations: 204 kB / 307.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1366, allocations: 234.9 kB / 307.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.1366, allocations: 357.2 kB / 308.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1367, allocations: 122.3 kB / 308.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.137, allocations: 0.7852 MB / 309.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.1377, allocations: 1.022 MB / 310.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.1377, allocations: 14.3 kB / 310.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0008836/0.1386, allocations: 0.8574 MB / 311.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1386, allocations: 13.5 kB / 311.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1386, allocations: 24.09 kB / 311.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.139, allocations: 148.7 kB / 311.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.1394, allocations: 282.1 kB / 311.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009331/0.1403, allocations: 1.77 MB / 313.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.1409, allocations: 89.98 kB / 313.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.141, allocations: 54.78 kB / 313.4 MB, free: 8.168 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.0003397/0.1413, allocations: 208 kB / 313.6 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.1414, allocations: 91.62 kB / 313.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.1418, allocations: 372.2 kB / 314.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1418, allocations: 10.69 kB / 314.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1418, allocations: 3.938 kB / 314.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1418, allocations: 3.984 kB / 314.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1432, allocations: 1.48 MB / 315.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1433, allocations: 0 / 315.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1434, allocations: 87.42 kB / 315.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.1437, allocations: 131.5 kB / 315.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1437, allocations: 12 kB / 315.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007643/0.1445, allocations: 1.765 MB / 317.6 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1445, allocations: 0 / 317.6 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.145, allocations: 0.6285 MB / 318.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.1452, allocations: 127.2 kB / 318.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.1453, allocations: 15.98 kB / 318.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.1455, allocations: 49.86 kB / 318.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.1456, allocations: 43.86 kB / 318.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.1456, allocations: 19.98 kB / 318.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.1459, allocations: 440.2 kB / 318.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1459, allocations: 0 / 318.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.1468, allocations: 359.5 kB / 319.2 MB, free: 2.828 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.0003487/0.1471, allocations: 172.4 kB / 319.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.1478, allocations: 0.6332 MB / 320.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.672e-05/0.1478, allocations: 23.81 kB / 320.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.148, allocations: 308.8 kB / 320.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.1487, allocations: 269.2 kB / 320.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.1519, allocations: 2.747 MB / 323.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1522, allocations: 433.4 kB / 323.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000353/0.1526, allocations: 166.1 kB / 324 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.153, allocations: 309.1 kB / 324.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.153, allocations: 0 / 324.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of Templates: time 0.02755/0.1806, allocations: 16.75 MB / 341 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.931690893135965]