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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001684/0.001684, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000982/0.000982, allocations: 97.16 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000938/0.0009382, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1971, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009682/0.2068, allocations: 13.72 MB / 420.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.2127, allocations: 3.839 MB / 424.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2143, allocations: 99.69 kB / 424.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009036/0.2233, allocations: 5.266 MB / 430 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.2274, allocations: 1.205 MB / 431.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.2301, allocations: 1.147 MB / 432.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006668/0.2367, allocations: 6.277 MB / 438.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/0.2544, allocations: 11.48 MB / 450.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.2587, allocations: 2.991 MB / 453.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/0.2638, allocations: 3.761 MB / 456.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.2657, allocations: 0.6836 MB / 457.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.2683, allocations: 0.8865 MB / 458.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.2702, allocations: 1.558 MB / 460 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004803/0.275, allocations: 3.353 MB / 463.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.2855, allocations: 11.74 MB / 475.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2856, allocations: 0 / 475.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2856, allocations: 0 / 475.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002864/0.2859, allocations: 0 / 475.1 MB, free: 7.535 MB / 346.7 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.02021/0.3061, allocations: 7.82 MB / 482.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3061, allocations: 8.031 kB / 482.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/0.3249, allocations: 2.921 MB / 485.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008304/0.3333, allocations: 3.608 MB / 489.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004726/0.3338, allocations: 485 kB / 489.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.3359, allocations: 0.6171 MB / 490.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.3579, allocations: 9.322 MB / 499.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.3582, allocations: 7.906 kB / 499.8 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00165/0.3598, allocations: 264 kB / 0.4884 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/0.3602, allocations: 325.3 kB / 0.4887 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.3776, allocations: 7.95 MB / 0.4965 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.586, allocations: 29.03 MB / 0.5248 GB, free: 68.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.5939, allocations: 11.69 MB / 0.5362 GB, free: 57.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.5957, allocations: 1.619 MB / 0.5378 GB, free: 56.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.5959, allocations: 218.3 kB / 0.538 GB, free: 56.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.596, allocations: 66.66 kB / 0.5381 GB, free: 56.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.519e-06/0.596, allocations: 0 / 0.5381 GB, free: 56.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006289/0.6023, allocations: 4.17 MB / 0.5421 GB, free: 53.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.6023, allocations: 107.1 kB / 0.5422 GB, free: 53.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.6043, allocations: 1.9 MB / 0.5441 GB, free: 51.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.6044, allocations: 69.64 kB / 0.5442 GB, free: 51.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.6052, allocations: 2.535 MB / 0.5466 GB, free: 48.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.6056, allocations: 0.8118 MB / 0.5474 GB, free: 47.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007221/0.6064, allocations: 0.6637 MB / 0.5481 GB, free: 47.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.6064, allocations: 301.1 kB / 0.5484 GB, free: 46.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.608, allocations: 1.404 MB / 0.5497 GB, free: 45.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.61, allocations: 2.599 MB / 0.5523 GB, free: 42.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.6137, allocations: 4.229 MB / 0.5564 GB, free: 37.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.6138, allocations: 12 kB / 0.5564 GB, free: 37.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005444/0.6192, allocations: 4.514 MB / 0.5608 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.6193, allocations: 20 kB / 0.5609 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.6193, allocations: 44.59 kB / 0.5609 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.62, allocations: 313.6 kB / 0.5612 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.6223, allocations: 0.78 MB / 0.562 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.626, allocations: 4.625 MB / 0.5665 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.628, allocations: 416 kB / 0.5669 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.6282, allocations: 161.8 kB / 0.567 GB, free: 26.35 MB / 378.7 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.002474/0.6307, allocations: 2.183 MB / 0.5692 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.6309, allocations: 213.4 kB / 0.5694 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.6351, allocations: 3.185 MB / 0.5725 GB, free: 20.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.6352, allocations: 24 kB / 0.5725 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6352, allocations: 4 kB / 0.5725 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.6352, allocations: 15.95 kB / 0.5725 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6485, allocations: 12.67 MB / 0.5849 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.6486, allocations: 16 kB / 0.5849 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.6501, allocations: 439.3 kB / 0.5853 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.6507, allocations: 274.1 kB / 0.5856 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.6508, allocations: 63.98 kB / 0.5856 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.6544, allocations: 4.555 MB / 0.5901 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.6544, allocations: 23.88 kB / 0.5901 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.6646, allocations: 8.457 MB / 0.5984 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/0.6656, allocations: 0.529 MB / 0.5989 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.6658, allocations: 63.98 kB / 0.5989 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.667, allocations: 123.5 kB / 0.5991 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/0.6674, allocations: 209.4 kB / 0.5993 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.6676, allocations: 83.98 kB / 0.5993 GB, free: 7.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.6692, allocations: 1.287 MB / 0.6006 GB, free: 6.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6692, allocations: 0 / 0.6006 GB, free: 6.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003615/0.6728, allocations: 1.534 MB / 0.6021 GB, free: 5.129 MB / 394.7 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.0005277/0.6734, allocations: 218.2 kB / 0.6023 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00563/0.679, allocations: 3.623 MB / 0.6058 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.6791, allocations: 4 kB / 0.6059 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.6816, allocations: 1.689 MB / 0.6075 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.6846, allocations: 494.2 kB / 0.608 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/0.7051, allocations: 13.73 MB / 0.6214 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005507/0.7107, allocations: 4.076 MB / 0.6254 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003703/0.7144, allocations: 1.195 MB / 0.6265 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/0.7151, allocations: 187.4 kB / 0.6267 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.7151, allocations: 4 kB / 0.6267 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.05445/0.7696, allocations: 30.84 MB / 0.6568 GB, free: 12.94 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches