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.001422/0.001422, allocations: 103 kB / 17.74 MB, free: 5.367 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.001574/0.001574, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2396, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009959/0.2495, allocations: 9.732 MB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.2546, allocations: 2.674 MB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009687/0.2556, allocations: 87.69 kB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008585/0.2643, allocations: 4.188 MB / 418.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.2674, allocations: 0.9164 MB / 419 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.2694, allocations: 0.8257 MB / 419.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.274, allocations: 4.058 MB / 423.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.2864, allocations: 10.96 MB / 434.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.2893, allocations: 2.346 MB / 437.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.2927, allocations: 2.651 MB / 439.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.2938, allocations: 0.6679 MB / 440.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.2956, allocations: 0.8787 MB / 441.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.2967, allocations: 1.243 MB / 442.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.2994, allocations: 2.553 MB / 445.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009706/0.3091, allocations: 8.89 MB / 454.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3092, allocations: 0 / 454.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3092, allocations: 4 kB / 454.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.3094, allocations: 0 / 454.1 MB, free: 3.969 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.01385/0.3232, allocations: 5.303 MB / 459.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3233, allocations: 19.83 kB / 459.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/0.3308, allocations: 1.292 MB / 460.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/0.3358, allocations: 2.595 MB / 463.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.3361, allocations: 349.3 kB / 463.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.3373, allocations: 456 kB / 464.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3502, allocations: 6.09 MB / 470.2 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.3504, allocations: 11.91 kB / 470.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004652/0.3509, allocations: 184 kB / 470.4 MB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.3511, allocations: 197.5 kB / 470.5 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3618, allocations: 5.276 MB / 475.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.3941, allocations: 20.71 MB / 496.5 MB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00627/0.4004, allocations: 5.576 MB / 0.4903 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4015, allocations: 0.6551 MB / 0.491 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.4016, allocations: 106.1 kB / 0.4911 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4017, allocations: 43.56 kB / 0.4911 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 5.03e-06/0.4017, allocations: 0 / 0.4911 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002168/0.4038, allocations: 1.432 MB / 0.4925 GB, free: 28 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.4039, allocations: 60.41 kB / 0.4926 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.4058, allocations: 1.458 MB / 0.494 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.4059, allocations: 41.7 kB / 0.494 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.407, allocations: 1.97 MB / 0.496 GB, free: 12.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.4073, allocations: 347.3 kB / 0.4963 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.408, allocations: 467.6 kB / 0.4967 GB, free: 11.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4081, allocations: 357.9 kB / 0.4971 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.4092, allocations: 0.8085 MB / 0.4979 GB, free: 10.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.4112, allocations: 1.945 MB / 0.4998 GB, free: 7.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.4142, allocations: 2.92 MB / 0.5026 GB, free: 4.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-05/0.4142, allocations: 16 kB / 0.5026 GB, free: 4.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00388/0.4181, allocations: 2.793 MB / 0.5054 GB, free: 1.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.4182, allocations: 23.94 kB / 0.5054 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/0.4182, allocations: 40.84 kB / 0.5054 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.334e-05/0.4183, allocations: 52 kB / 0.5055 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4199, allocations: 0.542 MB / 0.506 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.776e-05/0.42, allocations: 75.72 kB / 0.5061 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4213, allocations: 293.1 kB / 0.5064 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.4214, allocations: 120 kB / 0.5065 GB, free: 0.5469 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.002355/0.4238, allocations: 1.68 MB / 0.5081 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.4241, allocations: 126.4 kB / 0.5082 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4261, allocations: 1.334 MB / 0.5095 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001155/0.4273, allocations: 0.9318 MB / 0.5105 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4273, allocations: 4 kB / 0.5105 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.4273, allocations: 3.984 kB / 0.5105 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.4419, allocations: 12.21 MB / 0.5224 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.442, allocations: 20 kB / 0.5224 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.4427, allocations: 211.6 kB / 0.5226 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/0.4427, allocations: 24 kB / 0.5226 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.4428, allocations: 44 kB / 0.5227 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-05/0.4428, allocations: 39.8 kB / 0.5227 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-05/0.4429, allocations: 31.88 kB / 0.5227 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.4457, allocations: 2.447 MB / 0.5251 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.4463, allocations: 327.1 kB / 0.5254 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4465, allocations: 47.92 kB / 0.5255 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.4471, allocations: 59.95 kB / 0.5255 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4473, allocations: 127.5 kB / 0.5257 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.4474, allocations: 63.98 kB / 0.5257 GB, free: 11.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.4488, allocations: 0.9877 MB / 0.5267 GB, free: 10.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4488, allocations: 0 / 0.5267 GB, free: 10.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002589/0.4514, allocations: 0.9398 MB / 0.5276 GB, free: 9.934 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.000408/0.4518, allocations: 210.6 kB / 0.5278 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.4546, allocations: 1.877 MB / 0.5296 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.4546, allocations: 4 kB / 0.5296 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.4554, allocations: 0.5663 MB / 0.5302 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.4577, allocations: 377.5 kB / 0.5306 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/0.6628, allocations: 6.731 MB / 0.5371 GB, free: 127 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005313/0.6681, allocations: 2.988 MB / 0.54 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.6686, allocations: 134.9 kB / 0.5402 GB, free: 126.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6686, allocations: 3.938 kB / 0.5402 GB, free: 126.2 MB / 462.1 MB Notification: Performance of Templates: time 0.0442/0.7129, allocations: 38.22 MB / 0.5775 GB, free: 97.47 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/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