Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 112.2 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.92 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1296, allocations: 46.64 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007249/0.1369, allocations: 5.836 MB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.1411, allocations: 2.096 MB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.1417, allocations: 31.81 kB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009824/0.1427, allocations: 338.4 kB / 335.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.144, allocations: 0.5091 MB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1444, allocations: 203.8 kB / 335.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1464, allocations: 2.272 MB / 338.1 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.1483, allocations: 1.891 MB / 340 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.1507, allocations: 1.054 MB / 341 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.1521, allocations: 1.234 MB / 342.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.1525, allocations: 288 kB / 342.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.1531, allocations: 379.8 kB / 342.9 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.1537, allocations: 0.709 MB / 343.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.1548, allocations: 1.218 MB / 344.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.1579, allocations: 3.751 MB / 348.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1579, allocations: 0 / 348.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1579, allocations: 0 / 348.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.158, allocations: 0 / 348.6 MB, free: 14.87 MB / 302.1 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.004218/0.1622, allocations: 2.377 MB / 351 MB, free: 12.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1623, allocations: 11.89 kB / 351 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.1629, allocations: 246.4 kB / 351.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1647, allocations: 1.232 MB / 352.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1648, allocations: 139.5 kB / 352.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.1651, allocations: 172 kB / 352.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00413/0.1692, allocations: 2.543 MB / 355.3 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.1693, allocations: 3.938 kB / 355.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.1695, allocations: 75.98 kB / 355.4 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1696, allocations: 95.58 kB / 355.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.1729, allocations: 2.11 MB / 357.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.1841, allocations: 7.452 MB / 365 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.1857, allocations: 1.259 MB / 366.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.1865, allocations: 470.9 kB / 366.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.1867, allocations: 125.6 kB / 366.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1868, allocations: 39 kB / 366.9 MB, free: 12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.244e-06/0.1868, allocations: 0 / 366.9 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004514/0.1913, allocations: 2.261 MB / 369.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1914, allocations: 81.55 kB / 369.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.194, allocations: 1.512 MB / 370.8 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.1941, allocations: 37.64 kB / 370.8 MB, free: 8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.1948, allocations: 0.9711 MB / 371.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.195, allocations: 201.4 kB / 372 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.1954, allocations: 246.5 kB / 372.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1955, allocations: 357.9 kB / 372.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.1963, allocations: 454.3 kB / 373 MB, free: 5.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.1974, allocations: 1.094 MB / 374.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.1992, allocations: 1.619 MB / 375.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.1993, allocations: 4 kB / 375.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002932/0.2022, allocations: 1.683 MB / 377.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.2023, allocations: 16.16 kB / 377.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.292e-05/0.2023, allocations: 24 kB / 377.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008462/0.2032, allocations: 184.6 kB / 377.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009822/0.2042, allocations: 283.5 kB / 377.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2499/0.454, allocations: 2.357 MB / 380.2 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4558, allocations: 88.89 kB / 380.3 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.456, allocations: 69.41 kB / 380.4 MB, free: 49.77 MB / 318.1 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.001308/0.4573, allocations: 0.7029 MB / 381.1 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.4576, allocations: 131.8 kB / 381.2 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.4595, allocations: 0.8347 MB / 382.1 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4595, allocations: 13.97 kB / 382.1 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4595, allocations: 3.781 kB / 382.1 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4595, allocations: 5.859 kB / 382.1 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.464, allocations: 2.497 MB / 384.6 MB, free: 47.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.464, allocations: 5.812 kB / 384.6 MB, free: 47.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.4645, allocations: 103.7 kB / 384.7 MB, free: 47.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007353/0.4652, allocations: 150.9 kB / 384.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.4653, allocations: 19.97 kB / 384.9 MB, free: 47.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.4674, allocations: 2.311 MB / 387.2 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4674, allocations: 2.562 kB / 387.2 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.4698, allocations: 1.314 MB / 388.5 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.4704, allocations: 284.3 kB / 388.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4705, allocations: 14.53 kB / 388.8 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.4711, allocations: 46.28 kB / 388.8 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.4713, allocations: 61.38 kB / 388.9 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.4714, allocations: 19.62 kB / 388.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001894/0.4733, allocations: 1.036 MB / 389.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4733, allocations: 0 / 389.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001952/0.4752, allocations: 346.2 kB / 390.3 MB, free: 44.79 MB / 318.1 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.0005529/0.4758, allocations: 181.5 kB / 390.5 MB, free: 44.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.4784, allocations: 1.249 MB / 391.7 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4784, allocations: 2.094 kB / 391.7 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007759/0.4792, allocations: 0.5103 MB / 392.2 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4807, allocations: 376 kB / 392.6 MB, free: 43.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.487, allocations: 3.937 MB / 396.5 MB, free: 41.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.4891, allocations: 1.703 MB / 398.2 MB, free: 40.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001258/0.4904, allocations: 322.1 kB / 398.5 MB, free: 40.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.4906, allocations: 91.27 kB / 398.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4906, allocations: 0 / 398.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of Templates: time 0.03506/0.5257, allocations: 18.47 MB / 417.1 MB, free: 23.97 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches