Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 91.08 kB / 16.31 MB, free: 5.621 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.001038/0.001039, allocations: 180.6 kB / 17.21 MB, free: 5.539 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.43/1.43, allocations: 223.3 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 6.406 kB / 300.8 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 50.43 MB / 351.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01714/0.119, allocations: 11.97 MB / 363.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.1288, allocations: 3.47 MB / 366.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.1313, allocations: 91.75 kB / 366.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.1333, allocations: 0.5473 MB / 367.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.1376, allocations: 1.263 MB / 368.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.1399, allocations: 0.8509 MB / 369.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.151, allocations: 9.007 MB / 378.4 MB, free: 412 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02073/0.1718, allocations: 12.11 MB / 390.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.1754, allocations: 2.336 MB / 392.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.1796, allocations: 2.798 MB / 395.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.1807, allocations: 379.9 kB / 396 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.1827, allocations: 0.5389 MB / 396.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.184, allocations: 1.094 MB / 397.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.1859, allocations: 1.19 MB / 398.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009086/0.195, allocations: 9.984 MB / 408.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1951, allocations: 0 / 408.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1951, allocations: 4 kB / 408.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002108/0.1953, allocations: 3.938 kB / 408.9 MB, free: 1.836 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01574/0.211, allocations: 6.559 MB / 415.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2111, allocations: 12.03 kB / 415.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/0.2296, allocations: 2.896 MB / 418.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006528/0.2362, allocations: 3.593 MB / 421.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.2366, allocations: 481 kB / 422.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.2381, allocations: 0.621 MB / 423 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1909/0.429, allocations: 9.262 MB / 432.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.4292, allocations: 8.797 kB / 432.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005907/0.4298, allocations: 262.1 kB / 432.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004197/0.4302, allocations: 324.6 kB / 432.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.4426, allocations: 7.906 MB / 440.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03051/0.4732, allocations: 28.63 MB / 469.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007481/0.4807, allocations: 11.68 MB / 481.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.4826, allocations: 1.611 MB / 482.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.4828, allocations: 135.1 kB / 482.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4829, allocations: 64.12 kB / 482.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=238): time 3.987e-06/0.4829, allocations: 0 / 482.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.006388/0.4893, allocations: 4.125 MB / 487 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4893, allocations: 103.1 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.4918, allocations: 1.895 MB / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.492, allocations: 69.27 kB / 489.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.4937, allocations: 2.545 MB / 491.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/0.4944, allocations: 0.8078 MB / 492.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.4945, allocations: 72 kB / 492.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.4948, allocations: 453.2 kB / 492.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.4969, allocations: 1.385 MB / 494.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.4998, allocations: 2.577 MB / 496.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.5026, allocations: 2.003 MB / 498.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.5026, allocations: 12 kB / 498.9 MB, free: 4.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006678/0.5093, allocations: 4.478 MB / 0.4916 GB, free: 124 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.5093, allocations: 24.06 kB / 0.4916 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.5094, allocations: 40 kB / 0.4916 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007503/0.5101, allocations: 315.8 kB / 0.4919 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.5127, allocations: 0.778 MB / 0.4927 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.5176, allocations: 4.608 MB / 0.4972 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.5196, allocations: 410.8 kB / 0.4976 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.5198, allocations: 164 kB / 0.4978 GB, free: 9.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.00335/0.5232, allocations: 2.196 MB / 0.4999 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.5235, allocations: 209.4 kB / 0.5001 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.5288, allocations: 3.172 MB / 0.5032 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.5288, allocations: 24 kB / 0.5032 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.5289, allocations: 8 kB / 0.5032 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.5289, allocations: 11.95 kB / 0.5032 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.5454, allocations: 11.76 MB / 0.5147 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.5455, allocations: 16.03 kB / 0.5147 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.5471, allocations: 436.6 kB / 0.5152 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006562/0.5478, allocations: 277.1 kB / 0.5154 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.548, allocations: 67.98 kB / 0.5155 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.553, allocations: 4.553 MB / 0.5199 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.553, allocations: 22.66 kB / 0.52 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.5598, allocations: 4.983 MB / 0.5248 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009681/0.5609, allocations: 0.5329 MB / 0.5253 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.5611, allocations: 59.98 kB / 0.5254 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.5623, allocations: 128 kB / 0.5255 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.5626, allocations: 205 kB / 0.5257 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.5628, allocations: 83.98 kB / 0.5258 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.5648, allocations: 1.279 MB / 0.527 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5648, allocations: 4 kB / 0.5271 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003746/0.5686, allocations: 1.437 MB / 0.5285 GB, free: 9.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0003731/0.569, allocations: 218.1 kB / 0.5287 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.5744, allocations: 3.603 MB / 0.5322 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.5745, allocations: 6.297 kB / 0.5322 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.5768, allocations: 1.686 MB / 0.5338 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5794, allocations: 0.4969 MB / 0.5343 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.5973, allocations: 12.08 MB / 0.5461 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004134/0.6015, allocations: 4.007 MB / 0.55 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003642/0.6051, allocations: 1.191 MB / 0.5512 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.6057, allocations: 191.4 kB / 0.5514 GB, free: 2.016 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6057, allocations: 0 / 0.5514 GB, free: 2.016 MB / 430.1 MB Notification: Performance of Templates: time 0.05243/0.6582, allocations: 28.84 MB / 0.5795 GB, free: 5.398 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches