Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 60.12 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1152, allocations: 50.54 MB / 358.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02046/0.1357, allocations: 13.94 MB / 372.1 MB, free: 132 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.197/0.3328, allocations: 3.832 MB / 375.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.3352, allocations: 101.2 kB / 376 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.3459, allocations: 5.564 MB / 381.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.3505, allocations: 1.342 MB / 382.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.3537, allocations: 1.208 MB / 384.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007963/0.3617, allocations: 6.321 MB / 390.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01981/0.3815, allocations: 13.92 MB / 404.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.3867, allocations: 3.274 MB / 407.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/0.3928, allocations: 3.86 MB / 411.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.3951, allocations: 0.8828 MB / 412.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.3986, allocations: 1.086 MB / 413.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.4011, allocations: 1.769 MB / 415.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005781/0.4069, allocations: 3.573 MB / 418.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4198, allocations: 11.88 MB / 430.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4198, allocations: 0 / 430.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4198, allocations: 0 / 430.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003061/0.4201, allocations: 0 / 430.7 MB, free: 3.48 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.02147/0.4416, allocations: 7.777 MB / 438.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4417, allocations: 8.031 kB / 438.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/0.4616, allocations: 2.915 MB / 441.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007976/0.4696, allocations: 3.615 MB / 445 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.4701, allocations: 483.3 kB / 445.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.4723, allocations: 0.6183 MB / 446.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.4918, allocations: 9.315 MB / 455.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.492, allocations: 15.89 kB / 455.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006729/0.4927, allocations: 260 kB / 455.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.493, allocations: 321.4 kB / 456 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.5076, allocations: 7.95 MB / 464 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04492/0.5526, allocations: 29.04 MB / 493 MB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.5639, allocations: 11.7 MB / 0.4929 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.5663, allocations: 1.615 MB / 0.4945 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.5666, allocations: 220.1 kB / 0.4947 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.5667, allocations: 56.56 kB / 0.4947 GB, free: 4.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.827e-06/0.5667, allocations: 0 / 0.4947 GB, free: 4.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007423/0.5741, allocations: 4.17 MB / 0.4988 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.5742, allocations: 103.1 kB / 0.4989 GB, free: 488 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.5767, allocations: 1.895 MB / 0.5007 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.5768, allocations: 61.7 kB / 0.5008 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.5782, allocations: 2.547 MB / 0.5033 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.5788, allocations: 0.8127 MB / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008732/0.5797, allocations: 0.6598 MB / 0.5047 GB, free: 10.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.5798, allocations: 305.1 kB / 0.505 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.5817, allocations: 1.4 MB / 0.5064 GB, free: 8.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.5843, allocations: 2.599 MB / 0.5089 GB, free: 5.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/0.5892, allocations: 4.234 MB / 0.5131 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.5893, allocations: 15.94 kB / 0.5131 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006793/0.5961, allocations: 4.518 MB / 0.5175 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.5961, allocations: 24 kB / 0.5175 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/0.5962, allocations: 36 kB / 0.5175 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/0.597, allocations: 313.5 kB / 0.5178 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.5997, allocations: 0.7761 MB / 0.5186 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.6049, allocations: 5.052 MB / 0.5235 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.6072, allocations: 412 kB / 0.5239 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/0.6076, allocations: 160 kB / 0.5241 GB, free: 5.246 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.003418/0.6111, allocations: 2.191 MB / 0.5262 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.6115, allocations: 209.5 kB / 0.5264 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1613/0.7729, allocations: 3.181 MB / 0.5295 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.7729, allocations: 30 kB / 0.5296 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.773, allocations: 5.688 kB / 0.5296 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.443e-05/0.773, allocations: 15.45 kB / 0.5296 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.7904, allocations: 12.66 MB / 0.5419 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.7904, allocations: 19.08 kB / 0.542 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.7921, allocations: 436.7 kB / 0.5424 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000695/0.7928, allocations: 279 kB / 0.5426 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.7929, allocations: 72.58 kB / 0.5427 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.7971, allocations: 4.973 MB / 0.5476 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/0.7972, allocations: 26.78 kB / 0.5476 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/0.8045, allocations: 4.998 MB / 0.5525 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.8055, allocations: 0.5272 MB / 0.553 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.8058, allocations: 64.47 kB / 0.553 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8071, allocations: 121.6 kB / 0.5532 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.8074, allocations: 202.9 kB / 0.5534 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.8076, allocations: 86.61 kB / 0.5534 GB, free: 122.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.809, allocations: 1.294 MB / 0.5547 GB, free: 122.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8091, allocations: 3.938 kB / 0.5547 GB, free: 122.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0033/0.8124, allocations: 1.433 MB / 0.5561 GB, free: 121.7 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.0003894/0.8128, allocations: 222.5 kB / 0.5563 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.819, allocations: 4.16 MB / 0.5604 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.819, allocations: 3.969 kB / 0.5604 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.8209, allocations: 1.688 MB / 0.562 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.8236, allocations: 0.5141 MB / 0.5625 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.8369, allocations: 9.876 MB / 0.5722 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/0.8398, allocations: 3.898 MB / 0.576 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/0.8407, allocations: 219.2 kB / 0.5762 GB, free: 111.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8407, allocations: 0 / 0.5762 GB, free: 111.5 MB / 446.1 MB Notification: Performance of Templates: time 0.2886/1.129, allocations: 123.7 MB / 0.697 GB, free: 141.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches