Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 180.1 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007018/0.0007018, allocations: 86.38 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002802, allocations: 11.98 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009302/0.1983, allocations: 12.57 MB / 387.1 MB, free: 35.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.2049, allocations: 3.618 MB / 390.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.2067, allocations: 83.84 kB / 390.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.2079, allocations: 0.5789 MB / 391.4 MB, free: 31.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.2115, allocations: 1.473 MB / 392.9 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.2134, allocations: 0.8668 MB / 393.7 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008856/0.2222, allocations: 9.52 MB / 403.3 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01679/0.2391, allocations: 12.2 MB / 415.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.2426, allocations: 2.511 MB / 418 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.2463, allocations: 3.047 MB / 421 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.2473, allocations: 392 kB / 421.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.2492, allocations: 0.5584 MB / 422 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.25, allocations: 1.234 MB / 423.2 MB, free: 56 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.2517, allocations: 1.256 MB / 424.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.262, allocations: 10.31 MB / 434.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2621, allocations: 0 / 434.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2621, allocations: 0 / 434.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003314/0.2624, allocations: 3.938 kB / 434.8 MB, free: 4.449 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0179/0.2803, allocations: 6.972 MB / 441.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2804, allocations: 8.031 kB / 441.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/0.3098, allocations: 5.1 MB / 446.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007233/0.3171, allocations: 3.516 MB / 450.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.3176, allocations: 0.5097 MB / 450.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.3196, allocations: 0.6601 MB / 451.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/0.3433, allocations: 10.43 MB / 462 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.3435, allocations: 11.89 kB / 462 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.3446, allocations: 284 kB / 462.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/0.345, allocations: 386.6 kB / 462.6 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.3636, allocations: 9.579 MB / 472.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2036/0.5672, allocations: 31.94 MB / 0.4923 GB, free: 89.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.5816, allocations: 22.87 MB / 0.5147 GB, free: 68.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.5846, allocations: 1.927 MB / 0.5165 GB, free: 68.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008357/0.593, allocations: 6.242 MB / 0.5226 GB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5931, allocations: 54.56 kB / 0.5227 GB, free: 66.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.446e-06/0.5931, allocations: 3.875 kB / 0.5227 GB, free: 66.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.005576/0.5987, allocations: 3.15 MB / 0.5258 GB, free: 66.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.5987, allocations: 89.86 kB / 0.5259 GB, free: 65.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.6018, allocations: 2.599 MB / 0.5284 GB, free: 64.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.602, allocations: 49.45 kB / 0.5284 GB, free: 64.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.6034, allocations: 3.115 MB / 0.5315 GB, free: 62.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.6037, allocations: 0.5482 MB / 0.532 GB, free: 62.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.6039, allocations: 82.41 kB / 0.5321 GB, free: 62.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6041, allocations: 465.4 kB / 0.5325 GB, free: 61.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.6059, allocations: 1.451 MB / 0.534 GB, free: 61.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.6082, allocations: 3.249 MB / 0.5371 GB, free: 57.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.6105, allocations: 2.186 MB / 0.5393 GB, free: 56.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.339e-05/0.6106, allocations: 17.44 kB / 0.5393 GB, free: 56.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006126/0.6167, allocations: 5.054 MB / 0.5442 GB, free: 53.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.6168, allocations: 35.95 kB / 0.5443 GB, free: 53.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/0.6168, allocations: 60 kB / 0.5443 GB, free: 53.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.6175, allocations: 344.7 kB / 0.5446 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.62, allocations: 0.8852 MB / 0.5455 GB, free: 52.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.6237, allocations: 4.642 MB / 0.55 GB, free: 47.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.6265, allocations: 0.5339 MB / 0.5506 GB, free: 46.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.6269, allocations: 208 kB / 0.5508 GB, free: 46.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00318/0.6301, allocations: 2.331 MB / 0.553 GB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.6304, allocations: 221.2 kB / 0.5532 GB, free: 43.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.6337, allocations: 2.328 MB / 0.5555 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6337, allocations: 17.31 kB / 0.5555 GB, free: 41.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6337, allocations: 7.953 kB / 0.5555 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6337, allocations: 9.281 kB / 0.5556 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.6403, allocations: 5.33 MB / 0.5608 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6403, allocations: 0 / 0.5608 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6414, allocations: 255.7 kB / 0.561 GB, free: 35.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/0.642, allocations: 257.6 kB / 0.5612 GB, free: 35.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.6421, allocations: 32 kB / 0.5613 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.6456, allocations: 4.509 MB / 0.5657 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6456, allocations: 11.95 kB / 0.5657 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.6493, allocations: 3.285 MB / 0.5689 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/0.65, allocations: 0.4937 MB / 0.5694 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.6503, allocations: 31.94 kB / 0.5694 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/0.6513, allocations: 92.09 kB / 0.5695 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.6514, allocations: 118.5 kB / 0.5696 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.6515, allocations: 44 kB / 0.5697 GB, free: 26.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.6534, allocations: 1.698 MB / 0.5713 GB, free: 25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6534, allocations: 0 / 0.5713 GB, free: 25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003738/0.6572, allocations: 1.522 MB / 0.5728 GB, free: 23.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.6575, allocations: 165.8 kB / 0.573 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.6621, allocations: 3.5 MB / 0.5764 GB, free: 19.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6621, allocations: 0 / 0.5764 GB, free: 19.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.6635, allocations: 1.258 MB / 0.5776 GB, free: 18.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.6658, allocations: 475.1 kB / 0.5781 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.6829, allocations: 12.05 MB / 0.5898 GB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/0.6863, allocations: 4.072 MB / 0.5938 GB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.6874, allocations: 227.4 kB / 0.594 GB, free: 1.645 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6874, allocations: 0 / 0.594 GB, free: 1.645 MB / 378.7 MB Notification: Performance of Templates: time 0.3401/1.028, allocations: 130 MB / 0.7209 GB, free: 104.3 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches