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.001093/0.001093, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001131/0.001131, allocations: 191 kB / 18.63 MB, free: 4.379 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 52.11 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0132/0.1162, allocations: 13.92 MB / 365.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009676/0.1259, allocations: 3.777 MB / 369.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.1296, allocations: 103.7 kB / 369.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1674/0.2971, allocations: 5.553 MB / 374.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.3021, allocations: 1.514 MB / 376.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.3048, allocations: 1.058 MB / 377.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008161/0.313, allocations: 6.289 MB / 383.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.3316, allocations: 13.66 MB / 397.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/0.3367, allocations: 3.338 MB / 400.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.3434, allocations: 3.843 MB / 404.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.3455, allocations: 0.8867 MB / 405.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.3485, allocations: 1.068 MB / 406.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.35, allocations: 1.775 MB / 408.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0045/0.3546, allocations: 3.57 MB / 411.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.3662, allocations: 11.94 MB / 423.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3662, allocations: 0 / 423.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3662, allocations: 3.938 kB / 423.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002568/0.3665, allocations: 0 / 423.8 MB, free: 9.5 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.01824/0.3848, allocations: 7.766 MB / 431.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3848, allocations: 12.03 kB / 431.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.4026, allocations: 2.888 MB / 434.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008448/0.411, allocations: 3.727 MB / 438.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.4114, allocations: 491.9 kB / 438.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.413, allocations: 0.6244 MB / 439.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.429, allocations: 9.308 MB / 448.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.4292, allocations: 7.906 kB / 448.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000572/0.4298, allocations: 267 kB / 448.9 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/0.43, allocations: 313.4 kB / 449.2 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.4433, allocations: 7.954 MB / 457.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04188/0.4852, allocations: 28.21 MB / 485.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4955, allocations: 11.7 MB / 497.1 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.498, allocations: 1.624 MB / 498.7 MB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.4983, allocations: 138.2 kB / 498.8 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4983, allocations: 56.56 kB / 498.9 MB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 5.3e-06/0.4983, allocations: 0 / 498.9 MB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007625/0.506, allocations: 4.176 MB / 0.4913 GB, free: 7.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.5061, allocations: 99.11 kB / 0.4914 GB, free: 7.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.5089, allocations: 1.899 MB / 0.4932 GB, free: 5.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.5092, allocations: 61.7 kB / 0.4933 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.5109, allocations: 2.542 MB / 0.4957 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007944/0.5117, allocations: 0.8133 MB / 0.4965 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009665/0.5126, allocations: 0.6637 MB / 0.4972 GB, free: 1.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5127, allocations: 301.1 kB / 0.4975 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.5153, allocations: 1.408 MB / 0.4989 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/0.5195, allocations: 2.587 MB / 0.5014 GB, free: 12.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/0.5267, allocations: 4.23 MB / 0.5055 GB, free: 8.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.5268, allocations: 16 kB / 0.5055 GB, free: 8.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01035/0.5371, allocations: 4.518 MB / 0.5099 GB, free: 3.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.5372, allocations: 24.78 kB / 0.51 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-05/0.5373, allocations: 36 kB / 0.51 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5384, allocations: 317 kB / 0.5103 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/0.5425, allocations: 0.7839 MB / 0.5111 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.5484, allocations: 5.031 MB / 0.516 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.5509, allocations: 415.9 kB / 0.5164 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/0.5512, allocations: 160 kB / 0.5165 GB, free: 12.5 MB / 446.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00342/0.5546, allocations: 2.187 MB / 0.5187 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/0.5551, allocations: 217.3 kB / 0.5189 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/0.5601, allocations: 3.185 MB / 0.522 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.5601, allocations: 27.98 kB / 0.522 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.5601, allocations: 8 kB / 0.522 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.5602, allocations: 11.95 kB / 0.522 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1855/0.7457, allocations: 11.73 MB / 0.5335 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.7457, allocations: 14.03 kB / 0.5335 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.7474, allocations: 440 kB / 0.5339 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007168/0.7482, allocations: 278.1 kB / 0.5342 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.7483, allocations: 66.98 kB / 0.5342 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.7528, allocations: 4.976 MB / 0.5391 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/0.7528, allocations: 20.7 kB / 0.5391 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007011/0.7599, allocations: 4.999 MB / 0.544 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.7613, allocations: 0.5329 MB / 0.5445 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.7616, allocations: 61 kB / 0.5446 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.7629, allocations: 128.4 kB / 0.5447 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.7633, allocations: 200.8 kB / 0.5449 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.7634, allocations: 88.09 kB / 0.545 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00172/0.7652, allocations: 1.297 MB / 0.5462 GB, free: 131.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7652, allocations: 0 / 0.5462 GB, free: 131.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00394/0.7691, allocations: 1.43 MB / 0.5476 GB, free: 130.8 MB / 446.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004221/0.7696, allocations: 223.5 kB / 0.5479 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.7743, allocations: 3.653 MB / 0.5514 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.7744, allocations: 7.938 kB / 0.5514 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.7762, allocations: 1.688 MB / 0.5531 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.7785, allocations: 0.5187 MB / 0.5536 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.7918, allocations: 9.891 MB / 0.5632 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/0.7949, allocations: 4.006 MB / 0.5672 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002639/0.7975, allocations: 1.19 MB / 0.5683 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.7981, allocations: 193.4 kB / 0.5685 GB, free: 121.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7981, allocations: 0 / 0.5685 GB, free: 121.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04753/0.8456, allocations: 30.79 MB / 0.5986 GB, free: 93.16 MB / 446.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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