Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 115.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.34 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08846, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009734/0.09823, allocations: 9.727 MB / 368.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.1033, allocations: 2.768 MB / 371.4 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.104, allocations: 75.75 kB / 371.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1554/0.2594, allocations: 4.17 MB / 375.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.262, allocations: 0.7649 MB / 376.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.264, allocations: 0.9623 MB / 377.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.2694, allocations: 4.068 MB / 381.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.2815, allocations: 10.96 MB / 392.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.2859, allocations: 2.355 MB / 394.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.2888, allocations: 2.647 MB / 397.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007166/0.2895, allocations: 0.6628 MB / 398.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.2909, allocations: 0.902 MB / 399 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.2926, allocations: 1.342 MB / 400.3 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.2954, allocations: 2.559 MB / 402.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.3023, allocations: 8.906 MB / 411.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3023, allocations: 4 kB / 411.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3024, allocations: 0 / 411.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.012e-05/0.3025, allocations: 0 / 411.8 MB, free: 5.02 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01075/0.3132, allocations: 5.308 MB / 417.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3133, allocations: 12.03 kB / 417.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/0.3208, allocations: 1.32 MB / 418.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.3255, allocations: 2.595 MB / 421 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.3257, allocations: 348.4 kB / 421.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006345/0.3263, allocations: 467.8 kB / 421.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009426/0.3358, allocations: 6.092 MB / 427.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.957e-05/0.3359, allocations: 4 kB / 427.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.3363, allocations: 188 kB / 428.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.3364, allocations: 193.5 kB / 428.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008071/0.3445, allocations: 5.272 MB / 433.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/0.3709, allocations: 20.96 MB / 454.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005808/0.3767, allocations: 5.569 MB / 460.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.3777, allocations: 0.659 MB / 460.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.3779, allocations: 190.1 kB / 460.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3779, allocations: 47.56 kB / 461 MB, free: 2.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.946e-06/0.3779, allocations: 3.938 kB / 461 MB, free: 2.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002046/0.38, allocations: 1.416 MB / 462.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.38, allocations: 64.41 kB / 462.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.3819, allocations: 1.46 MB / 463.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.382, allocations: 37.7 kB / 463.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.3831, allocations: 1.964 MB / 465.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.3833, allocations: 352.6 kB / 466.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005745/0.3839, allocations: 479.5 kB / 466.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3841, allocations: 349.9 kB / 467.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.3851, allocations: 0.8085 MB / 467.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.387, allocations: 1.945 MB / 469.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.39, allocations: 2.924 MB / 472.7 MB, free: 5.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.39, allocations: 15.94 kB / 472.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00383/0.3938, allocations: 2.782 MB / 475.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.3939, allocations: 27.94 kB / 475.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/0.3939, allocations: 36 kB / 475.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-05/0.394, allocations: 56 kB / 475.7 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.3956, allocations: 0.5381 MB / 476.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.824e-05/0.3956, allocations: 75.72 kB / 476.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3969, allocations: 297.4 kB / 476.6 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.397, allocations: 127.9 kB / 476.7 MB, free: 1.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002342/0.3994, allocations: 1.664 MB / 478.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.3996, allocations: 134.3 kB / 478.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.4016, allocations: 1.338 MB / 479.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001204/0.4028, allocations: 0.9279 MB / 480.7 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4028, allocations: 4 kB / 480.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4028, allocations: 3.984 kB / 480.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.4181, allocations: 13.49 MB / 494.2 MB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/0.4182, allocations: 20 kB / 494.3 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.4189, allocations: 211.6 kB / 494.5 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.147e-05/0.4189, allocations: 36.03 kB / 494.5 MB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.419, allocations: 43.98 kB / 494.6 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/0.4191, allocations: 35.86 kB / 494.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.922e-05/0.4191, allocations: 35.81 kB / 494.6 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.4218, allocations: 2.448 MB / 497.1 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.4224, allocations: 319.2 kB / 497.4 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.4226, allocations: 43.98 kB / 497.4 MB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.4232, allocations: 63.89 kB / 497.5 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.4234, allocations: 131.5 kB / 497.6 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.4235, allocations: 55.98 kB / 497.7 MB, free: 11.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.4248, allocations: 0.9877 MB / 498.7 MB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4248, allocations: 0 / 498.7 MB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002502/0.4273, allocations: 0.9436 MB / 499.6 MB, free: 9.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0003113/0.4276, allocations: 205.4 kB / 499.8 MB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.4301, allocations: 1.871 MB / 0.4899 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.4302, allocations: 4 kB / 0.4899 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.4309, allocations: 0.5741 MB / 0.4905 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4328, allocations: 377.5 kB / 0.4908 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.4431, allocations: 6.848 MB / 0.4975 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/0.4458, allocations: 3.071 MB / 0.5005 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.4476, allocations: 0.8132 MB / 0.5013 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.4478, allocations: 119.4 kB / 0.5014 GB, free: 11.03 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4478, allocations: 0 / 0.5014 GB, free: 11.03 MB / 430.1 MB Notification: Performance of Templates: time 0.03028/0.4781, allocations: 17.44 MB / 0.5185 GB, free: 9.734 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches