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.00162/0.00162, allocations: 114.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2646, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01359/0.2782, allocations: 13.96 MB / 423.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007665/0.2859, allocations: 3.831 MB / 427.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.2882, allocations: 103.7 kB / 427.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01157/0.2999, allocations: 5.553 MB / 433.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.3046, allocations: 1.347 MB / 434.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.3078, allocations: 1.217 MB / 435.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008109/0.3159, allocations: 6.378 MB / 442.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02022/0.3361, allocations: 13.66 MB / 456 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.3409, allocations: 3.292 MB / 459.3 MB, free: 20 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.347, allocations: 3.858 MB / 463.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.3495, allocations: 0.8867 MB / 464 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.3532, allocations: 1.082 MB / 465.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.3561, allocations: 1.773 MB / 466.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008016/0.3641, allocations: 3.564 MB / 470.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.3795, allocations: 11.95 MB / 482.4 MB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3795, allocations: 11.88 kB / 482.4 MB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3796, allocations: 0 / 482.4 MB, free: 8.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003659/0.3799, allocations: 0 / 482.4 MB, free: 8.828 MB / 398.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.022/0.4019, allocations: 7.777 MB / 490.2 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.402, allocations: 12.03 kB / 490.2 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/0.4218, allocations: 2.913 MB / 493.1 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.4288, allocations: 3.74 MB / 496.8 MB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.4291, allocations: 481 kB / 497.3 MB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.4305, allocations: 0.6171 MB / 497.9 MB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4473, allocations: 9.31 MB / 0.4954 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.4475, allocations: 19.83 kB / 0.4954 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00061/0.4481, allocations: 268 kB / 0.4956 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.4484, allocations: 313.4 kB / 0.4959 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.4616, allocations: 7.95 MB / 0.5037 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0396/0.5012, allocations: 28.69 MB / 0.5317 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2785/0.7798, allocations: 11.68 MB / 0.5431 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.7835, allocations: 1.612 MB / 0.5447 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.7839, allocations: 215.6 kB / 0.5449 GB, free: 113.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.784, allocations: 71.84 kB / 0.545 GB, free: 113.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 6.442e-06/0.784, allocations: 0 / 0.545 GB, free: 113.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.007771/0.7917, allocations: 4.163 MB / 0.549 GB, free: 112.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.7918, allocations: 102.9 kB / 0.5491 GB, free: 112.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.7941, allocations: 1.899 MB / 0.551 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.7943, allocations: 65.61 kB / 0.551 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.7953, allocations: 2.54 MB / 0.5535 GB, free: 109.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/0.7958, allocations: 0.8165 MB / 0.5543 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008443/0.7967, allocations: 0.6606 MB / 0.555 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.7967, allocations: 305.1 kB / 0.5553 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.7983, allocations: 1.412 MB / 0.5566 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.8005, allocations: 2.586 MB / 0.5592 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.8043, allocations: 4.234 MB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.8043, allocations: 11.78 kB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005573/0.8099, allocations: 4.515 MB / 0.5677 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.8099, allocations: 19.62 kB / 0.5677 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/0.81, allocations: 40.06 kB / 0.5678 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.8107, allocations: 319 kB / 0.5681 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.8131, allocations: 0.7735 MB / 0.5688 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.8172, allocations: 5.042 MB / 0.5738 GB, free: 95.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.8194, allocations: 419.6 kB / 0.5742 GB, free: 95.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.8196, allocations: 163.8 kB / 0.5743 GB, free: 95.28 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.002938/0.8226, allocations: 2.191 MB / 0.5765 GB, free: 93.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.8229, allocations: 201.5 kB / 0.5766 GB, free: 93.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.827, allocations: 3.178 MB / 0.5798 GB, free: 90.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.8271, allocations: 27.94 kB / 0.5798 GB, free: 90.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.8271, allocations: 11.72 kB / 0.5798 GB, free: 90.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8271, allocations: 15.95 kB / 0.5798 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.8407, allocations: 12.64 MB / 0.5922 GB, free: 77.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.8408, allocations: 12 kB / 0.5922 GB, free: 77.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.8423, allocations: 435.3 kB / 0.5926 GB, free: 76.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005897/0.8429, allocations: 274.1 kB / 0.5928 GB, free: 76.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.8431, allocations: 67.98 kB / 0.5929 GB, free: 76.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.8469, allocations: 4.975 MB / 0.5978 GB, free: 71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.847, allocations: 27.86 kB / 0.5978 GB, free: 70.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.8523, allocations: 4.99 MB / 0.6027 GB, free: 65.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008493/0.8531, allocations: 0.5291 MB / 0.6032 GB, free: 65.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.8534, allocations: 63.98 kB / 0.6032 GB, free: 65.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8546, allocations: 123.9 kB / 0.6034 GB, free: 65.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.8549, allocations: 205.3 kB / 0.6036 GB, free: 64.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.855, allocations: 89.56 kB / 0.6036 GB, free: 64.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.8564, allocations: 1.287 MB / 0.6049 GB, free: 63.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8564, allocations: 0 / 0.6049 GB, free: 63.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003318/0.8598, allocations: 1.441 MB / 0.6063 GB, free: 62.01 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.0004311/0.8602, allocations: 220.7 kB / 0.6065 GB, free: 61.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004554/0.8648, allocations: 3.661 MB / 0.6101 GB, free: 58.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.8648, allocations: 4 kB / 0.6101 GB, free: 58.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8667, allocations: 1.696 MB / 0.6117 GB, free: 56.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.8694, allocations: 0.5154 MB / 0.6123 GB, free: 55.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.8841, allocations: 9.752 MB / 0.6218 GB, free: 45.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/0.8879, allocations: 3.893 MB / 0.6256 GB, free: 42.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009448/0.8889, allocations: 223.4 kB / 0.6258 GB, free: 41.8 MB / 462.1 MB Notification: Performance of SimCode: time 9.51e-07/0.8889, allocations: 3.828 kB / 0.6258 GB, free: 41.8 MB / 462.1 MB Notification: Performance of Templates: time 0.3315/1.22, allocations: 124.1 MB / 0.747 GB, free: 179.4 MB / 0.5294 GB 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