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.001065/0.001065, allocations: 111.3 kB / 17.68 MB, free: 5.355 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.001069/0.001069, allocations: 192 kB / 18.62 MB, free: 4.434 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009403/0.0009403, allocations: 45.38 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08638, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009557/0.09597, allocations: 9.725 MB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.1005, allocations: 2.69 MB / 363.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.1011, allocations: 79.75 kB / 364 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007824/0.1089, allocations: 4.176 MB / 368.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.1113, allocations: 0.9242 MB / 369.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1131, allocations: 0.8177 MB / 369.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1684/0.2815, allocations: 4.061 MB / 374 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.2968, allocations: 10.95 MB / 384.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.3007, allocations: 2.351 MB / 387.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/0.3054, allocations: 2.65 MB / 389.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.3073, allocations: 0.6655 MB / 390.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.31, allocations: 0.8698 MB / 391.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3112, allocations: 1.242 MB / 392.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.3148, allocations: 2.566 MB / 395.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.3231, allocations: 8.883 MB / 404.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3232, allocations: 0 / 404.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3232, allocations: 0 / 404.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001904/0.3234, allocations: 4 kB / 404.2 MB, free: 11.42 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.01373/0.3371, allocations: 5.315 MB / 409.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3372, allocations: 15.83 kB / 409.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.345, allocations: 1.3 MB / 410.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.3505, allocations: 2.6 MB / 413.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.3508, allocations: 345.4 kB / 413.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.352, allocations: 463.1 kB / 414.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.3635, allocations: 6.09 MB / 420.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.39e-05/0.3637, allocations: 8 kB / 420.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.3642, allocations: 191.9 kB / 420.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.3644, allocations: 193.5 kB / 420.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009751/0.3741, allocations: 5.271 MB / 425.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03302/0.4072, allocations: 20.7 MB / 446.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.4131, allocations: 5.583 MB / 452.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.4141, allocations: 0.659 MB / 452.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.4142, allocations: 114 kB / 453 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4143, allocations: 50.75 kB / 453 MB, free: 9.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.516e-06/0.4143, allocations: 0 / 453 MB, free: 9.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002201/0.4165, allocations: 1.416 MB / 454.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4165, allocations: 64.41 kB / 454.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.4185, allocations: 1.465 MB / 456 MB, free: 6.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.4185, allocations: 41.7 kB / 456 MB, free: 6.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.4196, allocations: 1.962 MB / 458 MB, free: 4.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4199, allocations: 349.1 kB / 458.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005787/0.4205, allocations: 479.5 kB / 458.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4206, allocations: 349.9 kB / 459.1 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4217, allocations: 0.8124 MB / 459.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.4234, allocations: 1.94 MB / 461.9 MB, free: 40 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.4264, allocations: 2.922 MB / 464.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.4264, allocations: 15.94 kB / 464.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003825/0.4302, allocations: 2.788 MB / 467.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.4303, allocations: 24 kB / 467.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/0.4303, allocations: 36 kB / 467.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.919e-05/0.4304, allocations: 56 kB / 467.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.432, allocations: 0.5316 MB / 468.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.179e-05/0.4321, allocations: 78.62 kB / 468.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4333, allocations: 297.3 kB / 468.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.4335, allocations: 128 kB / 468.7 MB, free: 9.074 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.002143/0.4356, allocations: 1.665 MB / 470.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4358, allocations: 126.4 kB / 470.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.4378, allocations: 1.342 MB / 471.9 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001174/0.439, allocations: 0.9276 MB / 472.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.439, allocations: 4 kB / 472.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.439, allocations: 7.969 kB / 472.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.454, allocations: 12.2 MB / 485 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.454, allocations: 21 kB / 485 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.4548, allocations: 214 kB / 485.2 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/0.4548, allocations: 32 kB / 485.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.4549, allocations: 47.98 kB / 485.3 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/0.4549, allocations: 39.02 kB / 485.4 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-05/0.4549, allocations: 34.81 kB / 485.4 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.4578, allocations: 2.445 MB / 487.8 MB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.4584, allocations: 319.2 kB / 488.1 MB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4586, allocations: 43.98 kB / 488.2 MB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/0.4593, allocations: 63.89 kB / 488.3 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.4595, allocations: 134 kB / 488.4 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.4595, allocations: 51.98 kB / 488.4 MB, free: 4.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.4609, allocations: 0.9877 MB / 489.4 MB, free: 3.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4609, allocations: 0 / 489.4 MB, free: 3.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002776/0.4637, allocations: 0.9437 MB / 490.4 MB, free: 2.738 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.0003759/0.4641, allocations: 210.5 kB / 490.6 MB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.4669, allocations: 1.864 MB / 492.4 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.4669, allocations: 8.812 kB / 492.4 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.4678, allocations: 0.5721 MB / 493 MB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.47, allocations: 385.7 kB / 493.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.4811, allocations: 6.842 MB / 0.4885 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.4839, allocations: 3.079 MB / 0.4915 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001887/0.4859, allocations: 0.8092 MB / 0.4923 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.4861, allocations: 111.4 kB / 0.4924 GB, free: 4.809 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4861, allocations: 4 kB / 0.4924 GB, free: 4.805 MB / 414.1 MB Notification: Performance of Templates: time 0.0313/0.5174, allocations: 17.55 MB / 0.5096 GB, free: 3.465 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 gbode -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