Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2874, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01271/0.3001, allocations: 9.807 MB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006705/0.3068, allocations: 2.775 MB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.309, allocations: 91.56 kB / 443.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.3193, allocations: 4.223 MB / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.3229, allocations: 0.7921 MB / 448.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.3256, allocations: 0.9881 MB / 449.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.3312, allocations: 4.078 MB / 454 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.3436, allocations: 7.133 MB / 461.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.3479, allocations: 2.408 MB / 463.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005078/0.353, allocations: 2.655 MB / 466.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002108/0.3551, allocations: 0.6641 MB / 466.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.3582, allocations: 0.8982 MB / 467.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.3602, allocations: 1.243 MB / 469 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004429/0.3646, allocations: 2.56 MB / 471.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.3784, allocations: 8.932 MB / 480.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3784, allocations: 0 / 480.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3784, allocations: 0 / 480.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002903/0.3787, allocations: 0 / 480.4 MB, free: 5.184 MB / 382.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.01581/0.3945, allocations: 5.331 MB / 485.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3945, allocations: 8.031 kB / 485.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001017/0.3956, allocations: 0.6578 MB / 486.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007817/0.4034, allocations: 1.317 MB / 487.8 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006467/0.4098, allocations: 2.606 MB / 490.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.4102, allocations: 345.4 kB / 490.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.4116, allocations: 452 kB / 491.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.4236, allocations: 6.102 MB / 497.2 MB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.4237, allocations: 7.953 kB / 497.3 MB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/0.4241, allocations: 192 kB / 497.4 MB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.4243, allocations: 201.5 kB / 497.6 MB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4349, allocations: 5.28 MB / 0.4911 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.4684, allocations: 20.23 MB / 0.5109 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.4734, allocations: 2.105 MB / 0.5129 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.4744, allocations: 0.6039 MB / 0.5135 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.4746, allocations: 48.94 kB / 0.5136 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.4747, allocations: 39.56 kB / 0.5136 GB, free: 6.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.966e-06/0.4747, allocations: 0 / 0.5136 GB, free: 6.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002408/0.4771, allocations: 1.44 MB / 0.515 GB, free: 5.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4771, allocations: 64.41 kB / 0.5151 GB, free: 5.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.4793, allocations: 1.462 MB / 0.5165 GB, free: 3.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.4794, allocations: 41.7 kB / 0.5166 GB, free: 3.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.481, allocations: 2.049 MB / 0.5186 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.4813, allocations: 365.1 kB / 0.5189 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000692/0.482, allocations: 475.9 kB / 0.5194 GB, free: 1.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4822, allocations: 357.9 kB / 0.5197 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4835, allocations: 0.8085 MB / 0.5205 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.4858, allocations: 1.941 MB / 0.5224 GB, free: 13.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.4894, allocations: 2.931 MB / 0.5252 GB, free: 9.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.4895, allocations: 12 kB / 0.5253 GB, free: 9.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004426/0.4939, allocations: 2.805 MB / 0.528 GB, free: 7.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.4939, allocations: 20 kB / 0.528 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-05/0.494, allocations: 40 kB / 0.528 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.364e-05/0.4941, allocations: 52 kB / 0.5281 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.4957, allocations: 0.5388 MB / 0.5286 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-05/0.4958, allocations: 83.72 kB / 0.5287 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4971, allocations: 301.9 kB / 0.529 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4973, allocations: 120 kB / 0.5291 GB, free: 5.887 MB / 446.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.002616/0.4999, allocations: 1.668 MB / 0.5307 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.5002, allocations: 135.1 kB / 0.5309 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.5024, allocations: 1.345 MB / 0.5322 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001346/0.5037, allocations: 0.9318 MB / 0.5331 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.5037, allocations: 4 kB / 0.5331 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5038, allocations: 3.984 kB / 0.5331 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2262/0.73, allocations: 11.11 MB / 0.5439 GB, free: 92.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.73, allocations: 19.84 kB / 0.544 GB, free: 92.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.7306, allocations: 211.7 kB / 0.5442 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/0.7307, allocations: 23.75 kB / 0.5442 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.7307, allocations: 50.88 kB / 0.5442 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.7308, allocations: 39.39 kB / 0.5443 GB, free: 92.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/0.7308, allocations: 31.47 kB / 0.5443 GB, free: 92.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.7331, allocations: 2.467 MB / 0.5467 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.7336, allocations: 253.8 kB / 0.547 GB, free: 91.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.7338, allocations: 49.09 kB / 0.547 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.7344, allocations: 61.81 kB / 0.5471 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.7346, allocations: 137.8 kB / 0.5472 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/0.7347, allocations: 55.94 kB / 0.5472 GB, free: 91.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.7358, allocations: 0.9902 MB / 0.5482 GB, free: 90.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7358, allocations: 0 / 0.5482 GB, free: 90.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00253/0.7383, allocations: 0.9555 MB / 0.5491 GB, free: 90.6 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.002666/0.7409, allocations: 3.092 MB / 0.5522 GB, free: 88.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.7433, allocations: 1.801 MB / 0.5539 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.7433, allocations: 3.812 kB / 0.5539 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.7439, allocations: 0.5575 MB / 0.5545 GB, free: 87.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.7458, allocations: 381.7 kB / 0.5548 GB, free: 87.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.7652, allocations: 19.61 MB / 0.574 GB, free: 66.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.7672, allocations: 3.067 MB / 0.577 GB, free: 63.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.7686, allocations: 0.8151 MB / 0.5778 GB, free: 62.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.7696, allocations: 1.257 MB / 0.579 GB, free: 61.54 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7696, allocations: 0 / 0.579 GB, free: 61.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/0.8394, allocations: 45.03 MB / 0.623 GB, free: 16.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.11, allocations: 3.984 kB / 0.623 GB, free: 16.67 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 16.749024297110736]