Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007641/0.0007641, allocations: 99.5 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002015/0.0002015, allocations: 4 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1805, allocations: 51.3 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005462/0.186, allocations: 7.875 MB / 415.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.189, allocations: 2.391 MB / 418.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.1895, allocations: 59.88 kB / 418.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.1901, allocations: 385.7 kB / 418.7 MB, free: 16.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.1913, allocations: 0.6024 MB / 419.3 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1925, allocations: 0.7544 MB / 420.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.1947, allocations: 3.326 MB / 423.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.2049, allocations: 9.643 MB / 433.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.2064, allocations: 1.452 MB / 434.5 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.208, allocations: 1.669 MB / 436.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.2084, allocations: 244 kB / 436.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2094, allocations: 459.7 kB / 436.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005333/0.2099, allocations: 0.6579 MB / 437.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.2116, allocations: 1.728 MB / 439.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.217, allocations: 6.651 MB / 445.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2171, allocations: 4 kB / 445.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2171, allocations: 0 / 445.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.2172, allocations: 4 kB / 445.9 MB, free: 5.625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.009017/0.2262, allocations: 4.002 MB / 449.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2263, allocations: 11.97 kB / 449.9 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007217/0.2335, allocations: 1.304 MB / 451.2 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.2373, allocations: 2.229 MB / 453.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.2375, allocations: 316.3 kB / 453.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000669/0.2382, allocations: 411.9 kB / 454.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009634/0.2478, allocations: 5.461 MB / 459.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-05/0.2479, allocations: 3.984 kB / 459.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.2483, allocations: 172 kB / 459.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.2485, allocations: 180.6 kB / 460 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.2566, allocations: 4.784 MB / 464.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.2806, allocations: 19.6 MB / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.2851, allocations: 3.938 MB / 488.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.2864, allocations: 0.8238 MB / 489.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.2866, allocations: 203.1 kB / 489.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2866, allocations: 47.56 kB / 489.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 2.866e-06/0.2866, allocations: 0 / 489.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002467/0.2891, allocations: 1.651 MB / 491 MB, free: 7.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2892, allocations: 68.34 kB / 491.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.2909, allocations: 1.326 MB / 492.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.291, allocations: 41.7 kB / 492.5 MB, free: 5.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.2919, allocations: 1.757 MB / 494.2 MB, free: 3.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.2922, allocations: 386.7 kB / 494.6 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.2923, allocations: 40 kB / 494.6 MB, free: 3.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2925, allocations: 439.1 kB / 495.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.2937, allocations: 0.8591 MB / 495.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.2956, allocations: 1.855 MB / 497.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.2985, allocations: 2.861 MB / 0.4889 GB, free: 12.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.2986, allocations: 12 kB / 0.4889 GB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003806/0.3024, allocations: 2.793 MB / 0.4917 GB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.3024, allocations: 20 kB / 0.4917 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/0.3025, allocations: 35.98 kB / 0.4917 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-05/0.3025, allocations: 48 kB / 0.4918 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.3041, allocations: 0.5186 MB / 0.4923 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.312e-05/0.3041, allocations: 68.17 kB / 0.4923 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3053, allocations: 293.2 kB / 0.4926 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.3054, allocations: 120 kB / 0.4927 GB, free: 8.535 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00199/0.3074, allocations: 1.488 MB / 0.4942 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.3076, allocations: 122.4 kB / 0.4943 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.3101, allocations: 1.54 MB / 0.4958 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001482/0.3116, allocations: 1.111 MB / 0.4969 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3116, allocations: 0 / 0.4969 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3116, allocations: 3.984 kB / 0.4969 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1811/0.4928, allocations: 13.83 MB / 0.5104 GB, free: 83.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.4928, allocations: 23.47 kB / 0.5104 GB, free: 83.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.4936, allocations: 233.4 kB / 0.5106 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.4936, allocations: 27.25 kB / 0.5107 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.4937, allocations: 52.97 kB / 0.5107 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/0.4937, allocations: 36.47 kB / 0.5107 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.4937, allocations: 35.91 kB / 0.5108 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.4963, allocations: 2.779 MB / 0.5135 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.4968, allocations: 352.4 kB / 0.5138 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.497, allocations: 46.86 kB / 0.5139 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.4977, allocations: 76.22 kB / 0.5139 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4978, allocations: 139.9 kB / 0.5141 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.4979, allocations: 62.11 kB / 0.5141 GB, free: 81.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.499, allocations: 0.8949 MB / 0.515 GB, free: 81.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.499, allocations: 0 / 0.515 GB, free: 81.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002077/0.5011, allocations: 0.8631 MB / 0.5159 GB, free: 80.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000281/0.5014, allocations: 214.2 kB / 0.5161 GB, free: 80.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.5037, allocations: 1.948 MB / 0.518 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.5038, allocations: 3.875 kB / 0.518 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.5045, allocations: 0.6699 MB / 0.5186 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/0.5091, allocations: 332.2 kB / 0.5189 GB, free: 79.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/0.5177, allocations: 7.719 MB / 0.5265 GB, free: 71.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.5195, allocations: 2.735 MB / 0.5291 GB, free: 69.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.52, allocations: 131.4 kB / 0.5293 GB, free: 69.02 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.52, allocations: 3.938 kB / 0.5293 GB, free: 69.02 MB / 378.7 MB Notification: Performance of Templates: time 0.03635/0.5563, allocations: 35.05 MB / 0.5635 GB, free: 34.02 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches