Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 227.7 MB / 247.7 MB, free: 10.34 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.62 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09838, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0121/0.1105, allocations: 9.734 MB / 368.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006059/0.1166, allocations: 2.76 MB / 370.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.118, allocations: 75.81 kB / 371 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.16/0.278, allocations: 4.177 MB / 375.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.2808, allocations: 0.7606 MB / 375.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.2827, allocations: 0.9597 MB / 376.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.2865, allocations: 4.022 MB / 380.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.2987, allocations: 11 MB / 391.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.3021, allocations: 2.349 MB / 394.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.3053, allocations: 2.656 MB / 396.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008141/0.3061, allocations: 0.664 MB / 397.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3077, allocations: 0.8972 MB / 398.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.31, allocations: 1.375 MB / 399.9 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.3131, allocations: 2.562 MB / 402.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.322, allocations: 8.851 MB / 411.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3221, allocations: 4 kB / 411.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3221, allocations: 0 / 411.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.3222, allocations: 0 / 411.3 MB, free: 5.328 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.01269/0.3349, allocations: 5.307 MB / 416.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.335, allocations: 15.97 kB / 416.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007969/0.343, allocations: 1.321 MB / 417.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.3475, allocations: 2.506 MB / 420.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.3478, allocations: 345.4 kB / 420.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007805/0.3486, allocations: 466.3 kB / 421.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.3598, allocations: 6.096 MB / 427.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.3599, allocations: 4 kB / 427.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/0.3603, allocations: 184 kB / 427.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3605, allocations: 193.5 kB / 427.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009472/0.37, allocations: 5.272 MB / 433 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03021/0.4003, allocations: 21.25 MB / 454.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/0.4072, allocations: 5.582 MB / 459.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.4082, allocations: 0.6551 MB / 460.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.4085, allocations: 190.2 kB / 460.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.4085, allocations: 47.56 kB / 460.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.895e-06/0.4086, allocations: 0 / 460.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002327/0.4109, allocations: 1.42 MB / 462.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.411, allocations: 60.41 kB / 462.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.4132, allocations: 1.46 MB / 463.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.4133, allocations: 41.7 kB / 463.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.4147, allocations: 1.963 MB / 465.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4151, allocations: 357.8 kB / 466 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.4157, allocations: 475.5 kB / 466.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4159, allocations: 353.9 kB / 466.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4172, allocations: 0.8046 MB / 467.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.4193, allocations: 1.941 MB / 469.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.4231, allocations: 2.924 MB / 472.5 MB, free: 5.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/0.4232, allocations: 15.94 kB / 472.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004524/0.4277, allocations: 2.789 MB / 475.3 MB, free: 2.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.4277, allocations: 24 kB / 475.3 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.026e-05/0.4278, allocations: 36 kB / 475.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.945e-05/0.4279, allocations: 56 kB / 475.4 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.4296, allocations: 0.5381 MB / 475.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-05/0.4297, allocations: 79.72 kB / 476 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.431, allocations: 293.5 kB / 476.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.4312, allocations: 124 kB / 476.4 MB, free: 1.523 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.002501/0.4337, allocations: 1.662 MB / 478.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.434, allocations: 126.4 kB / 478.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.4362, allocations: 1.349 MB / 479.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001348/0.4375, allocations: 0.9279 MB / 480.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4376, allocations: 0 / 480.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4376, allocations: 3.984 kB / 480.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.4556, allocations: 13.5 MB / 494 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.4557, allocations: 16 kB / 494 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.4565, allocations: 215.6 kB / 494.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/0.4565, allocations: 27.94 kB / 494.2 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.4566, allocations: 44 kB / 494.3 MB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-05/0.4566, allocations: 47.78 kB / 494.3 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-05/0.4567, allocations: 35.8 kB / 494.3 MB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.4601, allocations: 2.439 MB / 496.8 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.4608, allocations: 323.2 kB / 497.1 MB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.4611, allocations: 43.98 kB / 497.1 MB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.4619, allocations: 63.89 kB / 497.2 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4621, allocations: 139.4 kB / 497.3 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.4622, allocations: 55.98 kB / 497.4 MB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.4639, allocations: 0.9877 MB / 498.4 MB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4639, allocations: 0 / 498.4 MB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002853/0.4668, allocations: 0.9437 MB / 499.3 MB, free: 9.344 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.000387/0.4672, allocations: 200.2 kB / 499.5 MB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.4703, allocations: 1.882 MB / 0.4897 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.4703, allocations: 4 kB / 0.4897 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.4712, allocations: 0.5701 MB / 0.4902 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.4735, allocations: 379.9 kB / 0.4906 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4865, allocations: 6.813 MB / 0.4972 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/0.4902, allocations: 2.995 MB / 0.5002 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.4907, allocations: 135.4 kB / 0.5003 GB, free: 12.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4907, allocations: 0 / 0.5003 GB, free: 12.06 MB / 430.1 MB Notification: Performance of Templates: time 0.2114/0.7021, allocations: 38.17 MB / 0.5376 GB, free: 136.9 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches