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.001502/0.001502, allocations: 111.1 kB / 17.06 MB, free: 5.992 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.001591/0.001591, allocations: 200 kB / 18.01 MB, free: 5.066 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008628/0.0008628, allocations: 43.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2619, allocations: 49.43 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01386/0.2758, allocations: 13.94 MB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.2835, allocations: 3.765 MB / 418.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.2854, allocations: 99.75 kB / 418.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.2972, allocations: 5.569 MB / 424.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005948/0.3032, allocations: 1.511 MB / 425.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.3063, allocations: 1.064 MB / 426.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008438/0.3148, allocations: 6.296 MB / 433 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02109/0.3359, allocations: 13.65 MB / 446.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005503/0.3414, allocations: 3.284 MB / 449.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006384/0.3479, allocations: 3.854 MB / 453.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003042/0.3509, allocations: 0.8828 MB / 454.6 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.3548, allocations: 1.066 MB / 455.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.3585, allocations: 1.773 MB / 457.5 MB, free: 32 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007076/0.3656, allocations: 3.572 MB / 461.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.3802, allocations: 11.97 MB / 473 MB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.3803, allocations: 3.984 kB / 473 MB, free: 444 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3803, allocations: 0 / 473 MB, free: 444 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004257/0.3807, allocations: 0 / 473 MB, free: 444 kB / 382.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.02289/0.4036, allocations: 7.913 MB / 480.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4037, allocations: 12.02 kB / 481 MB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/0.4234, allocations: 2.912 MB / 483.9 MB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008867/0.4324, allocations: 3.742 MB / 487.6 MB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.4329, allocations: 481 kB / 488.1 MB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.4354, allocations: 0.6249 MB / 488.7 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/0.4613, allocations: 9.318 MB / 498 MB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/0.4617, allocations: 11.95 kB / 498 MB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002165/0.4639, allocations: 260 kB / 498.3 MB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/0.4643, allocations: 317.4 kB / 498.6 MB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4826, allocations: 7.954 MB / 0.4947 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05241/0.5351, allocations: 28.29 MB / 0.5223 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.546, allocations: 11.69 MB / 0.5337 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.5485, allocations: 1.626 MB / 0.5353 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.5487, allocations: 139 kB / 0.5354 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5488, allocations: 60.55 kB / 0.5355 GB, free: 2.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.93e-06/0.5488, allocations: 0 / 0.5355 GB, free: 2.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2212/0.77, allocations: 4.169 MB / 0.5396 GB, free: 124.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.7701, allocations: 105.9 kB / 0.5397 GB, free: 124.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.7728, allocations: 1.906 MB / 0.5415 GB, free: 124.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.773, allocations: 65.61 kB / 0.5416 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.7743, allocations: 2.637 MB / 0.5442 GB, free: 123 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/0.775, allocations: 0.8549 MB / 0.545 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008663/0.7759, allocations: 0.6585 MB / 0.5457 GB, free: 122.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.776, allocations: 303.9 kB / 0.5459 GB, free: 121.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.7778, allocations: 1.402 MB / 0.5473 GB, free: 121.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.7804, allocations: 2.6 MB / 0.5499 GB, free: 119.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.7853, allocations: 4.233 MB / 0.554 GB, free: 116.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.7854, allocations: 11.62 kB / 0.554 GB, free: 116.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006351/0.7917, allocations: 4.525 MB / 0.5584 GB, free: 114.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.7918, allocations: 26.69 kB / 0.5584 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.983e-05/0.7918, allocations: 38.09 kB / 0.5585 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.7926, allocations: 316.5 kB / 0.5588 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.7951, allocations: 0.7761 MB / 0.5595 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/0.7996, allocations: 5.044 MB / 0.5645 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/0.8025, allocations: 421.3 kB / 0.5649 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005609/0.8031, allocations: 163.2 kB / 0.565 GB, free: 110 MB / 462.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.003371/0.8065, allocations: 2.197 MB / 0.5672 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.8069, allocations: 218.6 kB / 0.5674 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/0.8115, allocations: 3.179 MB / 0.5705 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.8115, allocations: 24 kB / 0.5705 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.8115, allocations: 4 kB / 0.5705 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.8115, allocations: 11.25 kB / 0.5705 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.8263, allocations: 11.76 MB / 0.582 GB, free: 93.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.8263, allocations: 16 kB / 0.582 GB, free: 93.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.8279, allocations: 440.1 kB / 0.5824 GB, free: 92.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/0.8285, allocations: 277.7 kB / 0.5827 GB, free: 92.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.8286, allocations: 67.98 kB / 0.5828 GB, free: 92.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.8326, allocations: 4.989 MB / 0.5876 GB, free: 87.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.8326, allocations: 19.94 kB / 0.5877 GB, free: 87.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.838, allocations: 5.01 MB / 0.5925 GB, free: 81.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8391, allocations: 0.538 MB / 0.5931 GB, free: 81.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.8394, allocations: 63.97 kB / 0.5931 GB, free: 81.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.8406, allocations: 124 kB / 0.5932 GB, free: 81.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.8409, allocations: 209.2 kB / 0.5934 GB, free: 80.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.841, allocations: 83.98 kB / 0.5935 GB, free: 80.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.8425, allocations: 1.294 MB / 0.5948 GB, free: 79.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8425, allocations: 2.953 kB / 0.5948 GB, free: 79.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003209/0.8457, allocations: 1.452 MB / 0.5962 GB, free: 78.09 MB / 462.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.0003553/0.8461, allocations: 222.4 kB / 0.5964 GB, free: 77.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.8506, allocations: 3.662 MB / 0.6 GB, free: 74.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.8506, allocations: 4 kB / 0.6 GB, free: 74.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8525, allocations: 1.686 MB / 0.6017 GB, free: 72.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8551, allocations: 0.5216 MB / 0.6022 GB, free: 71.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.8706, allocations: 10.02 MB / 0.6119 GB, free: 61.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/0.8739, allocations: 4.008 MB / 0.6159 GB, free: 57.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002799/0.8767, allocations: 1.199 MB / 0.617 GB, free: 56.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.8772, allocations: 191.4 kB / 0.6172 GB, free: 56.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8772, allocations: 0 / 0.6172 GB, free: 56.28 MB / 462.1 MB Notification: Performance of Templates: time 0.04544/0.9227, allocations: 31.86 MB / 0.6483 GB, free: 24.59 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