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.001069/0.001069, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001009/0.001009, allocations: 191 kB / 18.63 MB, free: 4.379 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.375/1.375, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009835/0.0009836, allocations: 40.34 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1045, allocations: 49.46 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01022/0.1147, allocations: 9.715 MB / 361.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.1198, allocations: 2.694 MB / 363.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.121, allocations: 79.75 kB / 364 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008654/0.1297, allocations: 4.178 MB / 368.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.1331, allocations: 0.9319 MB / 369.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.1357, allocations: 0.8139 MB / 369.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1851/0.3209, allocations: 4.056 MB / 374 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.3368, allocations: 10.96 MB / 384.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.3406, allocations: 2.349 MB / 387.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/0.3451, allocations: 2.652 MB / 389.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.3471, allocations: 0.6653 MB / 390.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.3508, allocations: 0.8737 MB / 391.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002489/0.3533, allocations: 1.245 MB / 392.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00561/0.3589, allocations: 2.555 MB / 395.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3695, allocations: 8.886 MB / 404.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.3695, allocations: 4 kB / 404.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3695, allocations: 3.938 kB / 404.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002389/0.3698, allocations: 0 / 404.2 MB, free: 11.43 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.01308/0.3829, allocations: 5.31 MB / 409.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3829, allocations: 15.89 kB / 409.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/0.3901, allocations: 1.289 MB / 410.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.3947, allocations: 2.605 MB / 413.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.395, allocations: 345.4 kB / 413.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007774/0.3958, allocations: 462.9 kB / 414.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4061, allocations: 6.095 MB / 420.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.249e-05/0.4062, allocations: 8 kB / 420.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000419/0.4067, allocations: 190.2 kB / 420.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.4068, allocations: 193.5 kB / 420.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009149/0.416, allocations: 5.272 MB / 425.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.4447, allocations: 20.71 MB / 446.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/0.4508, allocations: 5.571 MB / 452.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/0.4518, allocations: 0.659 MB / 452.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.452, allocations: 117.2 kB / 453 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.452, allocations: 43.56 kB / 453 MB, free: 9.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 4.879e-06/0.452, allocations: 0 / 453 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002114/0.4541, allocations: 1.42 MB / 454.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4542, allocations: 64.41 kB / 454.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4561, allocations: 1.461 MB / 456 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.4561, allocations: 41.7 kB / 456 MB, free: 6.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4573, allocations: 1.962 MB / 458 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.4575, allocations: 350.2 kB / 458.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.4581, allocations: 471.5 kB / 458.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4583, allocations: 361.9 kB / 459.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.4594, allocations: 0.8085 MB / 459.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.4612, allocations: 1.942 MB / 461.9 MB, free: 68 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.4643, allocations: 2.923 MB / 464.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.4644, allocations: 15.94 kB / 464.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00388/0.4683, allocations: 2.785 MB / 467.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.4683, allocations: 24 kB / 467.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/0.4684, allocations: 36 kB / 467.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.595e-05/0.4684, allocations: 56 kB / 467.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.47, allocations: 0.5372 MB / 468.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.618e-05/0.4701, allocations: 78.59 kB / 468.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.4713, allocations: 293.5 kB / 468.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.4715, allocations: 128 kB / 468.7 MB, free: 9.102 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.0024/0.4739, allocations: 1.66 MB / 470.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4741, allocations: 130.3 kB / 470.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.4762, allocations: 1.349 MB / 471.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001236/0.4774, allocations: 0.9279 MB / 472.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4775, allocations: 0 / 472.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4775, allocations: 7.984 kB / 472.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.4927, allocations: 12.21 MB / 485 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.4928, allocations: 16 kB / 485 MB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.4935, allocations: 218.2 kB / 485.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.4936, allocations: 24 kB / 485.3 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/0.4936, allocations: 47.64 kB / 485.3 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/0.4937, allocations: 39.11 kB / 485.4 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-05/0.4937, allocations: 31.06 kB / 485.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.4965, allocations: 2.444 MB / 487.8 MB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.4972, allocations: 311.2 kB / 488.1 MB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4973, allocations: 47.92 kB / 488.2 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.498, allocations: 67.88 kB / 488.3 MB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4982, allocations: 137.5 kB / 488.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.4983, allocations: 48 kB / 488.4 MB, free: 4.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.4996, allocations: 0.9916 MB / 489.4 MB, free: 3.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4996, allocations: 0 / 489.4 MB, free: 3.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002646/0.5023, allocations: 0.9476 MB / 490.4 MB, free: 2.766 MB / 398.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.000379/0.5027, allocations: 207.2 kB / 490.6 MB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.5054, allocations: 1.873 MB / 492.4 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.5054, allocations: 4 kB / 492.5 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007553/0.5062, allocations: 0.5681 MB / 493 MB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.5082, allocations: 391.1 kB / 493.4 MB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5192, allocations: 6.844 MB / 0.4885 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/0.5221, allocations: 3.071 MB / 0.4915 GB, free: 5.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001778/0.5239, allocations: 0.8131 MB / 0.4923 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.5241, allocations: 119.4 kB / 0.4924 GB, free: 4.828 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5242, allocations: 3.938 kB / 0.4924 GB, free: 4.824 MB / 414.1 MB Notification: Performance of Templates: time 0.03221/0.5564, allocations: 17.54 MB / 0.5096 GB, free: 3.48 MB / 430.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 -s cvode -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/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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches