Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 105 kB / 17.06 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 194.9 kB / 18 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009581/0.0009581, allocations: 43.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2416, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01039/0.252, allocations: 9.743 MB / 410.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.257, allocations: 2.682 MB / 413.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.2576, allocations: 75.81 kB / 413.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008153/0.2658, allocations: 4.188 MB / 417.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.2684, allocations: 0.9242 MB / 418.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.2703, allocations: 0.8079 MB / 419.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.2744, allocations: 4.07 MB / 423.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.2876, allocations: 10.95 MB / 434.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.2904, allocations: 2.361 MB / 436.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.2933, allocations: 2.655 MB / 439.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007899/0.2941, allocations: 0.6641 MB / 439.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.2956, allocations: 0.8748 MB / 440.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.2965, allocations: 1.235 MB / 441.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.2988, allocations: 2.56 MB / 444.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.3059, allocations: 8.89 MB / 453.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3059, allocations: 4 kB / 453.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3059, allocations: 0 / 453.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.3061, allocations: 4 kB / 453.4 MB, free: 3.934 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01147/0.3175, allocations: 5.303 MB / 458.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3176, allocations: 11.89 kB / 458.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/0.3251, allocations: 1.296 MB / 460 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.3288, allocations: 2.595 MB / 462.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.329, allocations: 357.3 kB / 463 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006262/0.3297, allocations: 460 kB / 463.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.3399, allocations: 6.086 MB / 469.5 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/0.34, allocations: 7.906 kB / 469.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000424/0.3405, allocations: 188 kB / 469.7 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.3406, allocations: 197.5 kB / 469.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008957/0.3496, allocations: 5.276 MB / 475.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02713/0.3768, allocations: 20.71 MB / 495.9 MB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006236/0.383, allocations: 5.572 MB / 0.4897 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/0.384, allocations: 0.6551 MB / 0.4903 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.3841, allocations: 114 kB / 0.4904 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3841, allocations: 43.56 kB / 0.4905 GB, free: 1.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.066e-06/0.3841, allocations: 0 / 0.4905 GB, free: 1.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002057/0.3862, allocations: 1.424 MB / 0.4919 GB, free: 15.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3863, allocations: 60.41 kB / 0.4919 GB, free: 15.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.3881, allocations: 1.461 MB / 0.4934 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.3881, allocations: 37.7 kB / 0.4934 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.3893, allocations: 1.97 MB / 0.4953 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3895, allocations: 351.3 kB / 0.4956 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/0.3901, allocations: 471.6 kB / 0.4961 GB, free: 11.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3902, allocations: 361.9 kB / 0.4964 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.3914, allocations: 0.8045 MB / 0.4972 GB, free: 10.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.3932, allocations: 1.941 MB / 0.4991 GB, free: 7.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.3963, allocations: 2.924 MB / 0.502 GB, free: 4.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.3963, allocations: 16 kB / 0.502 GB, free: 4.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003861/0.4002, allocations: 2.797 MB / 0.5047 GB, free: 1.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4002, allocations: 20 kB / 0.5047 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-05/0.4003, allocations: 40 kB / 0.5048 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.586e-05/0.4004, allocations: 52 kB / 0.5048 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.402, allocations: 0.542 MB / 0.5054 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.776e-05/0.402, allocations: 79.66 kB / 0.5054 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4032, allocations: 293.2 kB / 0.5057 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.4034, allocations: 124 kB / 0.5058 GB, free: 0.5 MB / 430.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.002195/0.4056, allocations: 1.672 MB / 0.5075 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.4058, allocations: 126.4 kB / 0.5076 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4079, allocations: 1.33 MB / 0.5089 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001297/0.4092, allocations: 0.9318 MB / 0.5098 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4092, allocations: 0 / 0.5098 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4092, allocations: 11.98 kB / 0.5098 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.4247, allocations: 12.2 MB / 0.5217 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.4248, allocations: 20 kB / 0.5217 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.4256, allocations: 208.5 kB / 0.5219 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/0.4256, allocations: 27.98 kB / 0.522 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.4257, allocations: 44 kB / 0.522 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.958e-05/0.4257, allocations: 47.73 kB / 0.5221 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/0.4258, allocations: 31.88 kB / 0.5221 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.4286, allocations: 2.442 MB / 0.5245 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.4292, allocations: 331.1 kB / 0.5248 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4293, allocations: 47.92 kB / 0.5248 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.4301, allocations: 59.95 kB / 0.5249 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4302, allocations: 127.4 kB / 0.525 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.4303, allocations: 55.98 kB / 0.5251 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.4316, allocations: 0.9955 MB / 0.526 GB, free: 10.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.054e-05/0.4316, allocations: 0 / 0.526 GB, free: 10.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002515/0.4342, allocations: 0.9474 MB / 0.527 GB, free: 9.891 MB / 462.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.0003236/0.4345, allocations: 202.7 kB / 0.5272 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.4371, allocations: 1.873 MB / 0.529 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.4371, allocations: 4 kB / 0.529 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.4379, allocations: 0.5702 MB / 0.5295 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.44, allocations: 381 kB / 0.5299 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2021/0.6421, allocations: 6.839 MB / 0.5366 GB, free: 126.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/0.6462, allocations: 3.075 MB / 0.5396 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001559/0.6478, allocations: 0.8162 MB / 0.5404 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.648, allocations: 111.3 kB / 0.5405 GB, free: 125.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.993e-06/0.648, allocations: 0 / 0.5405 GB, free: 125.9 MB / 462.1 MB Notification: Performance of Templates: time 0.0256/0.6736, allocations: 18.32 MB / 0.5584 GB, free: 116 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches