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.001224/0.001224, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 62.8 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09982, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01105/0.1109, allocations: 9.133 MB / 366.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.1164, allocations: 2.639 MB / 369.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1175, allocations: 67.81 kB / 369.4 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.155/0.2725, allocations: 3.723 MB / 373.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.275, allocations: 0.7453 MB / 373.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.2768, allocations: 0.9336 MB / 374.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.28, allocations: 3.599 MB / 378.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.2901, allocations: 9.548 MB / 387.9 MB, free: 5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.2937, allocations: 2.09 MB / 390 MB, free: 4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.2968, allocations: 2.374 MB / 392.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007448/0.2976, allocations: 0.5907 MB / 393 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.2992, allocations: 0.8196 MB / 393.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007417/0.2999, allocations: 1.11 MB / 394.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.3021, allocations: 2.27 MB / 397.2 MB, free: 444 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007883/0.31, allocations: 7.92 MB / 405.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.31, allocations: 0 / 405.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3101, allocations: 0 / 405.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.233e-05/0.3102, allocations: 0 / 405.1 MB, free: 10.27 MB / 318.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.01061/0.3208, allocations: 4.852 MB / 409.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3208, allocations: 8.031 kB / 410 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007706/0.3285, allocations: 1.263 MB / 411.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.3319, allocations: 2.237 MB / 413.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.3322, allocations: 312.4 kB / 413.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005993/0.3328, allocations: 415.3 kB / 414.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009017/0.3418, allocations: 5.482 MB / 419.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.116e-05/0.3419, allocations: 3.906 kB / 419.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.3423, allocations: 168 kB / 419.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.3425, allocations: 176.6 kB / 420 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/0.3503, allocations: 4.808 MB / 424.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.3777, allocations: 19.54 MB / 444.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/0.3829, allocations: 3.902 MB / 448.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3843, allocations: 0.7811 MB / 449 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.3845, allocations: 204.4 kB / 449.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3846, allocations: 47.56 kB / 449.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.356e-06/0.3846, allocations: 0 / 449.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002547/0.3871, allocations: 1.557 MB / 450.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3872, allocations: 60.41 kB / 450.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.3891, allocations: 1.33 MB / 452.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.3891, allocations: 41.7 kB / 452.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.3903, allocations: 1.767 MB / 454 MB, free: 8.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3906, allocations: 360.8 kB / 454.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000641/0.3913, allocations: 459.3 kB / 454.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3915, allocations: 345.9 kB / 455.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3927, allocations: 0.8318 MB / 456 MB, free: 6.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.3947, allocations: 1.822 MB / 457.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.3981, allocations: 2.806 MB / 460.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.3981, allocations: 12 kB / 460.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004075/0.4022, allocations: 2.739 MB / 463.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.4022, allocations: 26.95 kB / 463.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.373e-05/0.4023, allocations: 36 kB / 463.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.043e-05/0.4023, allocations: 48 kB / 463.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.404, allocations: 0.5186 MB / 464 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.13e-05/0.4041, allocations: 67.72 kB / 464.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.4053, allocations: 289.3 kB / 464.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.4054, allocations: 120 kB / 464.5 MB, free: 12.67 MB / 382.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.002242/0.4077, allocations: 1.48 MB / 465.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.4079, allocations: 122.5 kB / 466.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.4103, allocations: 1.458 MB / 467.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001562/0.4118, allocations: 1.049 MB / 468.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4118, allocations: 0 / 468.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4119, allocations: 3.984 kB / 468.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.431, allocations: 13.75 MB / 482.3 MB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.4311, allocations: 20 kB / 482.3 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.4319, allocations: 228.4 kB / 482.6 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.999e-05/0.432, allocations: 31.94 kB / 482.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/0.4321, allocations: 55.98 kB / 482.6 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.512e-05/0.4321, allocations: 43.8 kB / 482.7 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-05/0.4322, allocations: 31.88 kB / 482.7 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.4356, allocations: 2.658 MB / 485.4 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/0.4363, allocations: 335.2 kB / 485.7 MB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.4365, allocations: 56.05 kB / 485.8 MB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.4372, allocations: 67.94 kB / 485.8 MB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.4374, allocations: 139.4 kB / 486 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/0.4375, allocations: 63.92 kB / 486 MB, free: 5.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.439, allocations: 0.9023 MB / 486.9 MB, free: 4.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.439, allocations: 3.938 kB / 486.9 MB, free: 4.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003255/0.4423, allocations: 0.874 MB / 487.8 MB, free: 3.949 MB / 398.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.0004708/0.4427, allocations: 205.4 kB / 488 MB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.446, allocations: 1.936 MB / 489.9 MB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.446, allocations: 8 kB / 490 MB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.447, allocations: 0.6262 MB / 490.6 MB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.4492, allocations: 344.3 kB / 490.9 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.4611, allocations: 6.418 MB / 497.3 MB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.464, allocations: 2.809 MB / 0.4884 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001924/0.466, allocations: 0.7615 MB / 0.4892 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.4663, allocations: 119.4 kB / 0.4893 GB, free: 6.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4663, allocations: 0 / 0.4893 GB, free: 6.371 MB / 414.1 MB Notification: Performance of Templates: time 0.0324/0.4987, allocations: 16.21 MB / 0.5051 GB, free: 6.293 MB / 430.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.1.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