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) 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 4.0.0+maint.om/package.mo", uses=false) 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=2000,variableFilter="time|transformer.l2sigma.inductor.1..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=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_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.0008744/0.0008745, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.0009468/0.0009468, allocations: 182.5 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002441, allocations: 15.92 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1028, allocations: 50.4 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005632/0.1085, allocations: 5.449 MB / 357.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1116, allocations: 2.033 MB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.112, allocations: 35.81 kB / 359.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.1128, allocations: 334.4 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1138, allocations: 0.5052 MB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1142, allocations: 183.9 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.1164, allocations: 2.491 MB / 362.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.1185, allocations: 1.856 MB / 364.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.1204, allocations: 0.7783 MB / 365.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1216, allocations: 1.007 MB / 366.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.1218, allocations: 124 kB / 366.6 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.1222, allocations: 215.8 kB / 366.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.1226, allocations: 0.5216 MB / 367.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000922/0.1236, allocations: 1.028 MB / 368.4 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1848/0.3084, allocations: 3.547 MB / 371.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.3085, allocations: 0.9375 kB / 371.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.202e-06/0.3085, allocations: 0.6094 kB / 371.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.3087, allocations: 0 / 371.9 MB, free: 13.7 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.006274/0.315, allocations: 2.021 MB / 373.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3151, allocations: 9.891 kB / 374 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.316, allocations: 254.8 kB / 374.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.3187, allocations: 1.3 MB / 375.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3188, allocations: 130.7 kB / 375.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.3191, allocations: 176.8 kB / 375.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005015/0.3241, allocations: 2.558 MB / 378.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.3241, allocations: 1.531 kB / 378.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.3243, allocations: 72.47 kB / 378.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3244, allocations: 97.11 kB / 378.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.3282, allocations: 2.125 MB / 380.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.3385, allocations: 7.509 MB / 388.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3399, allocations: 1.269 MB / 389.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.3406, allocations: 483.8 kB / 389.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.3408, allocations: 117.8 kB / 390 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3408, allocations: 37.81 kB / 390.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/0.3408, allocations: 0 / 390.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00399/0.3448, allocations: 2.3 MB / 392.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3449, allocations: 83.39 kB / 392.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.3467, allocations: 1.506 MB / 393.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3467, allocations: 31.8 kB / 394 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.3472, allocations: 0.9697 MB / 394.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3473, allocations: 198.3 kB / 395.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3475, allocations: 103.8 kB / 395.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.3475, allocations: 359.8 kB / 395.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.3482, allocations: 461.6 kB / 396 MB, free: 2.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.349, allocations: 1.101 MB / 397.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3504, allocations: 1.633 MB / 398.8 MB, free: 472 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3504, allocations: 7.969 kB / 398.8 MB, free: 468 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002382/0.3528, allocations: 1.696 MB / 400.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3528, allocations: 12.31 kB / 400.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3529, allocations: 27.09 kB / 400.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.3536, allocations: 179.1 kB / 400.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/0.3545, allocations: 288.9 kB / 401 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.3568, allocations: 2.165 MB / 403.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.3579, allocations: 87.67 kB / 403.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.358, allocations: 64 kB / 403.3 MB, free: 13.27 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.001146/0.3592, allocations: 0.7037 MB / 404 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.3595, allocations: 138.3 kB / 404.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.3611, allocations: 0.8468 MB / 405 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3611, allocations: 4 kB / 405 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3611, allocations: 8 kB / 405 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3611, allocations: 3.984 kB / 405 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.3653, allocations: 2.508 MB / 407.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3653, allocations: 4 kB / 407.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.3657, allocations: 110 kB / 407.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/0.3664, allocations: 154.6 kB / 407.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.3665, allocations: 19.98 kB / 407.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.3687, allocations: 2.094 MB / 409.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3687, allocations: 8.062 kB / 409.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.3711, allocations: 1.336 MB / 411.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.3717, allocations: 283.5 kB / 411.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.3718, allocations: 12 kB / 411.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.3724, allocations: 52.03 kB / 411.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3726, allocations: 58.48 kB / 411.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.3726, allocations: 20 kB / 411.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.3742, allocations: 1.036 MB / 412.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3743, allocations: 0 / 412.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001461/0.3757, allocations: 348 kB / 413 MB, free: 3.32 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.000535/0.3763, allocations: 195.7 kB / 413.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.3784, allocations: 1.16 MB / 414.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3784, allocations: 5.438 kB / 414.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.3793, allocations: 0.5218 MB / 414.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.3814, allocations: 361.9 kB / 415.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.3875, allocations: 3.976 MB / 419.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.389, allocations: 1.71 MB / 420.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009757/0.39, allocations: 326 kB / 421.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3902, allocations: 91.42 kB / 421.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3902, allocations: 0 / 421.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.03266/0.4229, allocations: 17.58 MB / 438.9 MB, free: 9.656 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches