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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 127.6 kB / 17.75 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 186.9 kB / 20.68 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 51.92 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 49.43 MB / 406.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01201/0.1221, allocations: 9.735 MB / 416.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006853/0.129, allocations: 2.69 MB / 419.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.1305, allocations: 79.75 kB / 419.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009634/0.1402, allocations: 4.18 MB / 423.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.1439, allocations: 0.9271 MB / 424.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1464, allocations: 0.8183 MB / 425.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006469/0.1529, allocations: 4.058 MB / 429.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2586/0.4115, allocations: 10.94 MB / 440.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.4152, allocations: 2.352 MB / 442.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00501/0.4202, allocations: 2.646 MB / 445.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.4224, allocations: 0.6632 MB / 446 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.4256, allocations: 0.8756 MB / 446.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.4273, allocations: 1.237 MB / 448.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00531/0.4327, allocations: 2.566 MB / 450.7 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.4491, allocations: 8.985 MB / 459.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4491, allocations: 2.969 kB / 459.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4491, allocations: 0 / 459.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003897/0.4495, allocations: 3.984 kB / 459.7 MB, free: 13.33 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.02138/0.4709, allocations: 5.407 MB / 465.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.471, allocations: 7.312 kB / 465.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00339/0.4744, allocations: 0.6619 MB / 465.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00897/0.4834, allocations: 1.32 MB / 467.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/0.4907, allocations: 2.608 MB / 469.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.4913, allocations: 351.4 kB / 470 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.4937, allocations: 454.3 kB / 470.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.5122, allocations: 6.097 MB / 476.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.5125, allocations: 3.953 kB / 476.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.5141, allocations: 192 kB / 476.8 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/0.5144, allocations: 193.5 kB / 477 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.5283, allocations: 5.268 MB / 482.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.5716, allocations: 20.79 MB / 0.4912 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007701/0.5794, allocations: 5.575 MB / 0.4967 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.5806, allocations: 0.6551 MB / 0.4973 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.5808, allocations: 109.9 kB / 0.4974 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.5809, allocations: 47.56 kB / 0.4975 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/0.5809, allocations: 0 / 0.4975 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002631/0.5836, allocations: 1.429 MB / 0.4989 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.5836, allocations: 68.06 kB / 0.4989 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/0.5868, allocations: 1.466 MB / 0.5003 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.5869, allocations: 45.64 kB / 0.5004 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.5887, allocations: 2.042 MB / 0.5024 GB, free: 9.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.5891, allocations: 360.2 kB / 0.5027 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/0.59, allocations: 479.8 kB / 0.5032 GB, free: 8.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.5902, allocations: 357.9 kB / 0.5035 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.5917, allocations: 0.8085 MB / 0.5043 GB, free: 7.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.5942, allocations: 1.947 MB / 0.5062 GB, free: 4.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.5983, allocations: 2.919 MB / 0.5091 GB, free: 1.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/0.5984, allocations: 12 kB / 0.5091 GB, free: 1.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004985/0.6033, allocations: 2.791 MB / 0.5118 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.6034, allocations: 26.62 kB / 0.5118 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.144e-05/0.6035, allocations: 36 kB / 0.5119 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.779e-05/0.6036, allocations: 56.81 kB / 0.5119 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.6054, allocations: 0.5407 MB / 0.5124 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.625e-05/0.6055, allocations: 75.72 kB / 0.5125 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.6072, allocations: 294 kB / 0.5128 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.6074, allocations: 128 kB / 0.5129 GB, free: 14 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.003197/0.6106, allocations: 1.666 MB / 0.5145 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.611, allocations: 139.1 kB / 0.5147 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.6134, allocations: 1.34 MB / 0.516 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001417/0.6148, allocations: 0.9241 MB / 0.5169 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6148, allocations: 3.984 kB / 0.5169 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.6148, allocations: 3.984 kB / 0.5169 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/0.6355, allocations: 12.21 MB / 0.5288 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-05/0.6356, allocations: 16 kB / 0.5288 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/0.6365, allocations: 215.7 kB / 0.529 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.861e-05/0.6366, allocations: 27.98 kB / 0.5291 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.6367, allocations: 43.98 kB / 0.5291 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-05/0.6367, allocations: 45.2 kB / 0.5292 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.48e-05/0.6368, allocations: 29.56 kB / 0.5292 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.6409, allocations: 2.454 MB / 0.5316 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/0.6419, allocations: 323.9 kB / 0.5319 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/0.6424, allocations: 47.92 kB / 0.5319 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6435, allocations: 63.94 kB / 0.532 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.6437, allocations: 138.3 kB / 0.5321 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6439, allocations: 52 kB / 0.5322 GB, free: 9.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002207/0.6461, allocations: 0.9916 MB / 0.5331 GB, free: 8.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6461, allocations: 0 / 0.5331 GB, free: 8.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003946/0.65, allocations: 0.9608 MB / 0.5341 GB, free: 7.617 MB / 446.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.004474/0.6545, allocations: 3.093 MB / 0.5371 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003446/0.658, allocations: 1.875 MB / 0.5389 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.658, allocations: 4.125 kB / 0.5389 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.659, allocations: 0.5634 MB / 0.5395 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6617, allocations: 386.4 kB / 0.5399 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/0.6999, allocations: 19.64 MB / 0.559 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005506/0.7055, allocations: 3.071 MB / 0.562 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002121/0.7076, allocations: 0.8132 MB / 0.5628 GB, free: 8.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/0.7098, allocations: 1.253 MB / 0.5641 GB, free: 7.238 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7098, allocations: 0 / 0.5641 GB, free: 7.238 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09049/0.8003, allocations: 42.7 MB / 0.6058 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.28, allocations: 12 kB / 0.6058 GB, free: 12.79 MB / 0.5137 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.914609567029402]