Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 112 kB / 17.28 MB, free: 6.219 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.0009775/0.000978, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 48.25 kB / 280.2 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09254, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01366/0.1062, allocations: 14.38 MB / 341.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.1142, allocations: 3.891 MB / 345.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.1161, allocations: 83.75 kB / 345.1 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.1278, allocations: 5.312 MB / 350.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.1347, allocations: 1.575 MB / 352 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.1382, allocations: 0.998 MB / 353 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00969/0.1479, allocations: 6.707 MB / 359.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02239/0.1704, allocations: 16.03 MB / 375.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/0.1762, allocations: 3.537 MB / 379.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1758/0.352, allocations: 4.159 MB / 383.5 MB, free: 25.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003217/0.3553, allocations: 0.9184 MB / 384.4 MB, free: 25.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.3598, allocations: 1.103 MB / 385.5 MB, free: 25.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003419/0.3632, allocations: 1.935 MB / 387.4 MB, free: 25.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008941/0.3722, allocations: 3.794 MB / 391.2 MB, free: 24.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.386, allocations: 12.32 MB / 403.5 MB, free: 18.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.386, allocations: 0 / 403.5 MB, free: 18.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.386, allocations: 0 / 403.5 MB, free: 18.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003651/0.3864, allocations: 0 / 403.5 MB, free: 18.56 MB / 318.1 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.02158/0.408, allocations: 8.337 MB / 411.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.408, allocations: 7.75 kB / 411.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/0.436, allocations: 5.077 MB / 416.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007105/0.4432, allocations: 3.545 MB / 420.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004672/0.4437, allocations: 0.5087 MB / 421 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002774/0.4465, allocations: 0.6657 MB / 421.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.4752, allocations: 10.48 MB / 432.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000391/0.4756, allocations: 8 kB / 432.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00257/0.4782, allocations: 278.7 kB / 432.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004805/0.4787, allocations: 390.6 kB / 432.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.5012, allocations: 9.639 MB / 442.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/0.5576, allocations: 31.85 MB / 474.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/0.5749, allocations: 22.92 MB / 497.2 MB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.578, allocations: 1.94 MB / 499.2 MB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009126/0.5871, allocations: 6.243 MB / 0.4936 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.5872, allocations: 52 kB / 0.4936 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.386e-06/0.5872, allocations: 0 / 0.4936 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006103/0.5933, allocations: 3.187 MB / 0.4967 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.5934, allocations: 98.53 kB / 0.4968 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.5975, allocations: 2.612 MB / 0.4994 GB, free: 9.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.5976, allocations: 49.7 kB / 0.4994 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.5994, allocations: 3.11 MB / 0.5024 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.5999, allocations: 0.5498 MB / 0.503 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.6009, allocations: 0.8046 MB / 0.5038 GB, free: 4.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.601, allocations: 305.1 kB / 0.5041 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.603, allocations: 1.472 MB / 0.5055 GB, free: 2.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.6059, allocations: 3.258 MB / 0.5087 GB, free: 14.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.6109, allocations: 4.821 MB / 0.5134 GB, free: 9.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.6109, allocations: 20 kB / 0.5134 GB, free: 9.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007488/0.6184, allocations: 5.086 MB / 0.5184 GB, free: 4.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.6185, allocations: 32 kB / 0.5184 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.398e-05/0.6185, allocations: 60.84 kB / 0.5185 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/0.6194, allocations: 344.2 kB / 0.5188 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.622, allocations: 0.8751 MB / 0.5196 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.627, allocations: 5.078 MB / 0.5246 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.63, allocations: 0.53 MB / 0.5251 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.6302, allocations: 212 kB / 0.5253 GB, free: 13.41 MB / 446.1 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 (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.003655/0.6339, allocations: 2.334 MB / 0.5276 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.6343, allocations: 221.1 kB / 0.5278 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.6382, allocations: 2.336 MB / 0.5301 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.6382, allocations: 16 kB / 0.5301 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.6382, allocations: 4 kB / 0.5301 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6382, allocations: 7.969 kB / 0.5301 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.6484, allocations: 5.339 MB / 0.5353 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.6485, allocations: 4.094 kB / 0.5353 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.6497, allocations: 257.8 kB / 0.5356 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006925/0.6504, allocations: 257.6 kB / 0.5358 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.6506, allocations: 32 kB / 0.5359 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1859/0.8366, allocations: 4.932 MB / 0.5407 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8366, allocations: 3.219 kB / 0.5407 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.8414, allocations: 3.304 MB / 0.5439 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.8422, allocations: 468.9 kB / 0.5444 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.8425, allocations: 27.64 kB / 0.5444 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8437, allocations: 100.1 kB / 0.5445 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.844, allocations: 102.1 kB / 0.5446 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.8441, allocations: 49.84 kB / 0.5446 GB, free: 153.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003157/0.8472, allocations: 1.719 MB / 0.5463 GB, free: 152.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8472, allocations: 0 / 0.5463 GB, free: 152.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004517/0.8518, allocations: 1.528 MB / 0.5478 GB, free: 152.1 MB / 446.1 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 (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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003205/0.8521, allocations: 161.7 kB / 0.5479 GB, free: 152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.8582, allocations: 3.818 MB / 0.5517 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8582, allocations: 3.688 kB / 0.5517 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.8597, allocations: 1.264 MB / 0.5529 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.862, allocations: 490.5 kB / 0.5534 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.8774, allocations: 12.75 MB / 0.5658 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/0.8805, allocations: 4.179 MB / 0.5699 GB, free: 141.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003225/0.8838, allocations: 1.285 MB / 0.5712 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.8842, allocations: 193.3 kB / 0.5713 GB, free: 140.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8843, allocations: 0 / 0.5713 GB, free: 140.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04715/0.9314, allocations: 30.83 MB / 0.6015 GB, free: 114.4 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches