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.001312/0.001312, allocations: 103.9 kB / 18.39 MB, free: 4.66 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.001385/0.001385, allocations: 186.4 kB / 19.33 MB, free: 3.738 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.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.00136/0.00136, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08307, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1898/0.2729, allocations: 14.6 MB / 390.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.2808, allocations: 3.936 MB / 394.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.283, allocations: 88.56 kB / 394.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.2942, allocations: 5.608 MB / 400.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.3019, allocations: 1.747 MB / 401.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.3057, allocations: 1.084 MB / 402.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.3165, allocations: 6.749 MB / 409.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02371/0.3402, allocations: 13.75 MB / 423.4 MB, free: 36 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.3469, allocations: 3.503 MB / 426.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0081/0.3551, allocations: 4.115 MB / 431 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00327/0.3584, allocations: 0.9219 MB / 431.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.3629, allocations: 1.097 MB / 433 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003448/0.3664, allocations: 1.925 MB / 435 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007886/0.3743, allocations: 3.793 MB / 438.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.3914, allocations: 12.38 MB / 451.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3915, allocations: 4 kB / 451.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3915, allocations: 4 kB / 451.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004207/0.3919, allocations: 0 / 451.1 MB, free: 4.211 MB / 366.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.02585/0.4178, allocations: 8.295 MB / 459.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4179, allocations: 12.03 kB / 459.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03232/0.4502, allocations: 5.072 MB / 464.5 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009501/0.4597, allocations: 3.543 MB / 468.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006157/0.4604, allocations: 0.5058 MB / 468.6 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/0.4633, allocations: 0.6639 MB / 469.2 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/0.4901, allocations: 10.48 MB / 479.7 MB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/0.4903, allocations: 11.84 kB / 479.7 MB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.4914, allocations: 287.9 kB / 480 MB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004058/0.4918, allocations: 386.6 kB / 480.4 MB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.5094, allocations: 9.637 MB / 490 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04668/0.5562, allocations: 31.49 MB / 0.5093 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.5748, allocations: 22.92 MB / 0.5317 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.5779, allocations: 1.945 MB / 0.5336 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.5883, allocations: 6.234 MB / 0.5397 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5884, allocations: 48 kB / 0.5397 GB, free: 9.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.316e-06/0.5884, allocations: 0 / 0.5397 GB, free: 9.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006359/0.5947, allocations: 3.169 MB / 0.5428 GB, free: 6.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.5948, allocations: 90.55 kB / 0.5429 GB, free: 6.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.5989, allocations: 2.612 MB / 0.5454 GB, free: 3.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.599, allocations: 53.7 kB / 0.5455 GB, free: 3.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.601, allocations: 3.129 MB / 0.5485 GB, free: 292 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1929/0.7939, allocations: 0.5372 MB / 0.5491 GB, free: 130.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.7953, allocations: 0.802 MB / 0.5498 GB, free: 130.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.7953, allocations: 303.9 kB / 0.5501 GB, free: 129.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.7976, allocations: 1.463 MB / 0.5516 GB, free: 129.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.8005, allocations: 3.261 MB / 0.5547 GB, free: 127.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/0.8054, allocations: 4.819 MB / 0.5595 GB, free: 125.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/0.8054, allocations: 17.41 kB / 0.5595 GB, free: 125.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007572/0.813, allocations: 5.094 MB / 0.5644 GB, free: 124.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.8131, allocations: 35.77 kB / 0.5645 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.8132, allocations: 60.97 kB / 0.5645 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.814, allocations: 339.7 kB / 0.5649 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.8169, allocations: 0.8811 MB / 0.5657 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.8213, allocations: 5.057 MB / 0.5707 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.8244, allocations: 0.5385 MB / 0.5712 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.8248, allocations: 216 kB / 0.5714 GB, free: 119.8 MB / 478.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.002977/0.8278, allocations: 2.328 MB / 0.5737 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.8281, allocations: 224.5 kB / 0.5739 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.8315, allocations: 2.323 MB / 0.5761 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.8316, allocations: 19.42 kB / 0.5762 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8316, allocations: 4.594 kB / 0.5762 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.8316, allocations: 15.09 kB / 0.5762 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/0.8387, allocations: 5.331 MB / 0.5814 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.8387, allocations: 0 / 0.5814 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.8398, allocations: 263.7 kB / 0.5816 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005702/0.8404, allocations: 263.5 kB / 0.5819 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.8405, allocations: 35.53 kB / 0.5819 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.8442, allocations: 4.935 MB / 0.5867 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8442, allocations: 0 / 0.5867 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.8478, allocations: 3.308 MB / 0.59 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.8485, allocations: 464.7 kB / 0.5904 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.8488, allocations: 27.81 kB / 0.5904 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.8499, allocations: 97.86 kB / 0.5905 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.8501, allocations: 112.8 kB / 0.5906 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.8501, allocations: 43.12 kB / 0.5907 GB, free: 109.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.8521, allocations: 1.713 MB / 0.5924 GB, free: 109.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8521, allocations: 3.062 kB / 0.5924 GB, free: 109.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003635/0.8558, allocations: 1.521 MB / 0.5939 GB, free: 108 MB / 478.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.0003041/0.8561, allocations: 168.4 kB / 0.594 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004435/0.8605, allocations: 3.522 MB / 0.5975 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8605, allocations: 0 / 0.5975 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.8619, allocations: 1.267 MB / 0.5987 GB, free: 103.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.864, allocations: 494.8 kB / 0.5992 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.8774, allocations: 9.72 MB / 0.6087 GB, free: 94.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/0.8802, allocations: 4.074 MB / 0.6126 GB, free: 90.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/0.881, allocations: 227.4 kB / 0.6128 GB, free: 90.02 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.8811, allocations: 0 / 0.6128 GB, free: 90.02 MB / 478.1 MB Notification: Performance of Templates: time 0.3022/1.183, allocations: 131.7 MB / 0.7415 GB, free: 181.7 MB / 0.5137 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches