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.001037/0.001037, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.001068/0.001068, allocations: 191 kB / 18 MB, free: 5.098 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009837/0.0009837, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.272, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009614/0.2817, allocations: 9.745 MB / 410.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.2864, allocations: 2.686 MB / 413.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2877, allocations: 75.81 kB / 413.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008604/0.2964, allocations: 4.184 MB / 417.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.2993, allocations: 0.9164 MB / 418.3 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.3014, allocations: 0.8232 MB / 419.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.3055, allocations: 4.062 MB / 423.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.3175, allocations: 10.96 MB / 434.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.3203, allocations: 2.354 MB / 436.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.324, allocations: 2.655 MB / 439.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009758/0.325, allocations: 0.6602 MB / 439.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3266, allocations: 0.8787 MB / 440.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009844/0.3276, allocations: 1.239 MB / 442 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.3301, allocations: 2.553 MB / 444.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007604/0.3378, allocations: 8.913 MB / 453.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3378, allocations: 0 / 453.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3378, allocations: 0 / 453.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001186/0.3379, allocations: 0 / 453.4 MB, free: 3.918 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.01158/0.3495, allocations: 5.405 MB / 458.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3495, allocations: 15.89 kB / 458.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/0.3567, allocations: 1.313 MB / 460.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/0.3606, allocations: 2.604 MB / 462.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3609, allocations: 353.3 kB / 463.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006493/0.3615, allocations: 452 kB / 463.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3717, allocations: 6.094 MB / 469.6 MB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.785e-05/0.3718, allocations: 3.953 kB / 469.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.3722, allocations: 188 kB / 469.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.3723, allocations: 197.5 kB / 470 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/0.3807, allocations: 5.276 MB / 475.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.4079, allocations: 20.78 MB / 496.1 MB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/0.4137, allocations: 5.572 MB / 0.4899 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008956/0.4146, allocations: 0.6629 MB / 0.4905 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.4148, allocations: 114.1 kB / 0.4906 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4148, allocations: 39.56 kB / 0.4907 GB, free: 1.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.286e-06/0.4148, allocations: 0 / 0.4907 GB, free: 1.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.001996/0.4168, allocations: 1.433 MB / 0.4921 GB, free: 15.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.4169, allocations: 60.41 kB / 0.4921 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.4186, allocations: 1.458 MB / 0.4936 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.4186, allocations: 41.7 kB / 0.4936 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.4197, allocations: 2.037 MB / 0.4956 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4199, allocations: 373 kB / 0.4959 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.4205, allocations: 471.9 kB / 0.4964 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4206, allocations: 361.9 kB / 0.4967 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4216, allocations: 0.8084 MB / 0.4975 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.4234, allocations: 1.937 MB / 0.4994 GB, free: 7.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.4264, allocations: 2.927 MB / 0.5023 GB, free: 4.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.4264, allocations: 12 kB / 0.5023 GB, free: 4.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003554/0.43, allocations: 2.794 MB / 0.505 GB, free: 1.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4301, allocations: 24 kB / 0.505 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/0.4301, allocations: 43.94 kB / 0.5051 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/0.4302, allocations: 55.98 kB / 0.5051 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4317, allocations: 0.5342 MB / 0.5057 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.013e-05/0.4317, allocations: 83.66 kB / 0.5057 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.4328, allocations: 302.3 kB / 0.506 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.433, allocations: 120 kB / 0.5061 GB, free: 208 kB / 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.001988/0.435, allocations: 1.668 MB / 0.5078 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4351, allocations: 135.1 kB / 0.5079 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.437, allocations: 1.342 MB / 0.5092 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001148/0.4382, allocations: 0.9357 MB / 0.5101 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4382, allocations: 0 / 0.5101 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4382, allocations: 3.984 kB / 0.5101 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.4516, allocations: 12.21 MB / 0.522 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.4516, allocations: 19.98 kB / 0.5221 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.4524, allocations: 219.8 kB / 0.5223 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.273e-05/0.4524, allocations: 24 kB / 0.5223 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.4525, allocations: 44 kB / 0.5223 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.783e-05/0.4525, allocations: 43.73 kB / 0.5224 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.777e-05/0.4525, allocations: 27.88 kB / 0.5224 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.4552, allocations: 2.451 MB / 0.5248 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.4556, allocations: 327.9 kB / 0.5251 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.4558, allocations: 51.92 kB / 0.5252 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.4564, allocations: 63.95 kB / 0.5252 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.4566, allocations: 127.5 kB / 0.5253 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.4566, allocations: 55.98 kB / 0.5254 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4578, allocations: 0.9877 MB / 0.5264 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.4578, allocations: 3.938 kB / 0.5264 GB, free: 10.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002332/0.4601, allocations: 0.9608 MB / 0.5273 GB, free: 9.555 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.0003181/0.4605, allocations: 210.6 kB / 0.5275 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.4629, allocations: 1.869 MB / 0.5293 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4629, allocations: 4.312 kB / 0.5293 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007236/0.4637, allocations: 0.5689 MB / 0.5299 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.4657, allocations: 382 kB / 0.5303 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2/0.6657, allocations: 6.95 MB / 0.537 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/0.6691, allocations: 3.071 MB / 0.54 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.6707, allocations: 0.8157 MB / 0.5408 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.6709, allocations: 117.8 kB / 0.541 GB, free: 126 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6709, allocations: 3.844 kB / 0.541 GB, free: 126 MB / 462.1 MB Notification: Performance of Templates: time 0.02562/0.6965, allocations: 18.34 MB / 0.5589 GB, free: 115.7 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