Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009921/0.2717, allocations: 9.142 MB / 418.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.2768, allocations: 2.636 MB / 421 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.2782, allocations: 71.75 kB / 421.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007637/0.2859, allocations: 3.729 MB / 424.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.2884, allocations: 0.7493 MB / 425.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2903, allocations: 0.9217 MB / 426.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.2938, allocations: 3.63 MB / 430.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.304, allocations: 9.506 MB / 439.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.3066, allocations: 2.092 MB / 441.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.3091, allocations: 2.375 MB / 444.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006308/0.3098, allocations: 0.5859 MB / 444.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.3111, allocations: 0.8278 MB / 445.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007487/0.3119, allocations: 1.107 MB / 446.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.3137, allocations: 2.272 MB / 448.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.32, allocations: 7.908 MB / 456.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3201, allocations: 8 kB / 456.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3201, allocations: 0 / 456.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.313e-05/0.3202, allocations: 0 / 456.8 MB, free: 1.836 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01021/0.3304, allocations: 4.849 MB / 461.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3304, allocations: 8.031 kB / 461.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007612/0.338, allocations: 1.3 MB / 463 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.3413, allocations: 2.307 MB / 465.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.3415, allocations: 320.4 kB / 465.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.3421, allocations: 404 kB / 466 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008675/0.3508, allocations: 5.469 MB / 471.4 MB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/0.3509, allocations: 11.91 kB / 471.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.3512, allocations: 164 kB / 471.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/0.3515, allocations: 180.6 kB / 471.8 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.3587, allocations: 4.8 MB / 476.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.3835, allocations: 19.29 MB / 495.9 MB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/0.3884, allocations: 3.891 MB / 499.8 MB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.3897, allocations: 0.7731 MB / 0.4888 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.3899, allocations: 195.1 kB / 0.489 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.39, allocations: 43.55 kB / 0.489 GB, free: 4.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.609e-06/0.39, allocations: 0 / 0.489 GB, free: 4.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002334/0.3923, allocations: 1.553 MB / 0.4906 GB, free: 2.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3924, allocations: 60.41 kB / 0.4906 GB, free: 2.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.3943, allocations: 1.334 MB / 0.4919 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.3944, allocations: 45.69 kB / 0.492 GB, free: 1.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.3956, allocations: 1.765 MB / 0.4937 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3959, allocations: 359.1 kB / 0.494 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006046/0.3965, allocations: 447.3 kB / 0.4945 GB, free: 14.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3967, allocations: 353.9 kB / 0.4948 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.3979, allocations: 0.8357 MB / 0.4956 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.4, allocations: 1.823 MB / 0.4974 GB, free: 11.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.4036, allocations: 2.794 MB / 0.5001 GB, free: 8.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/0.4037, allocations: 8 kB / 0.5001 GB, free: 8.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003988/0.4077, allocations: 2.731 MB / 0.5028 GB, free: 5.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.4077, allocations: 20 kB / 0.5028 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-05/0.4078, allocations: 36 kB / 0.5028 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.156e-05/0.4079, allocations: 52.06 kB / 0.5029 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.4095, allocations: 0.5265 MB / 0.5034 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.519e-05/0.4096, allocations: 67.72 kB / 0.5035 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.411, allocations: 285.2 kB / 0.5037 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4112, allocations: 112 kB / 0.5038 GB, free: 4.23 MB / 430.1 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002606/0.4138, allocations: 1.496 MB / 0.5053 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.4141, allocations: 122.5 kB / 0.5054 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.4165, allocations: 1.454 MB / 0.5068 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001328/0.4178, allocations: 1.033 MB / 0.5079 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4178, allocations: 0 / 0.5079 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4178, allocations: 7.984 kB / 0.5079 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/0.4361, allocations: 13.75 MB / 0.5213 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/0.4361, allocations: 20 kB / 0.5213 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.437, allocations: 235.5 kB / 0.5215 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-05/0.437, allocations: 24 kB / 0.5216 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.4371, allocations: 48 kB / 0.5216 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.021e-05/0.4372, allocations: 39.84 kB / 0.5216 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-05/0.4372, allocations: 35.81 kB / 0.5217 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.4405, allocations: 2.667 MB / 0.5243 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/0.4412, allocations: 327.2 kB / 0.5246 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.4415, allocations: 59.91 kB / 0.5246 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.4425, allocations: 63.95 kB / 0.5247 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.4427, allocations: 147.4 kB / 0.5248 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.4428, allocations: 60 kB / 0.5249 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.4442, allocations: 0.9062 MB / 0.5258 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4442, allocations: 0 / 0.5258 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002778/0.447, allocations: 0.8623 MB / 0.5266 GB, free: 11.49 MB / 462.1 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.4474, allocations: 206.7 kB / 0.5268 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003098/0.4505, allocations: 1.919 MB / 0.5287 GB, free: 9.359 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.4506, allocations: 4.375 kB / 0.5287 GB, free: 9.355 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.4515, allocations: 0.6332 MB / 0.5293 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.4537, allocations: 346 kB / 0.5297 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.4664, allocations: 6.384 MB / 0.5359 GB, free: 1.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.254/0.7205, allocations: 2.804 MB / 0.5386 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002219/0.7227, allocations: 0.7669 MB / 0.5394 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.723, allocations: 107 kB / 0.5395 GB, free: 121.1 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.723, allocations: 3.969 kB / 0.5395 GB, free: 121.1 MB / 462.1 MB Notification: Performance of Templates: time 0.02552/0.7485, allocations: 17.13 MB / 0.5562 GB, free: 113.6 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches